Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Exercise #1: Write a program using if, else if, and else statements that will ask the user to input today's temperature. If the temperature

C++ image text in transcribed
Exercise #1: Write a program using if, else if, and else statements that will ask the user to input today's temperature. If the temperature is above 80 degrees, display a message saying: "It is very hot today!" If the temperature is below 40 degrees, display a message saying: "It is very cold today!" If the temperature is between 40 and 80 degrees, display a message saying: "It is a beautiful day outside!" Test your program with the following user input: 20 40 50 80 100

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

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions