Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 values

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions