Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 3 Write a C++ program that prompts the user for an integer. The program reads the integer and displays even number if the number
Exercise 3
Write a C++ program that prompts the user for an integer. The program reads the integer and displays "even number" if the number is even or "odd number" if the number is odd. Write a C++ program that prompts the user for a temperature value. The program should print "cool" when the temperature is greater than 40 and less than or equal to 60, should print "warn when the temperature is greater than 60 and less than or equal to 85 and should print "don't go outsider for all other temperature valuesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started