Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

programming language write programs that will print a paticular message. x m The Value of F E Student Center X W CW 2 - 2020

programming language write programs that will print a paticular message.

image text in transcribed

x m The Value of F E Student Center X W CW 2 - 2020 S X C Chega Mobile Description: W X bbhosted.cuny.edu/webapps/blackboard/execute/content/file?cmd=view&content_id=_442721801&course_jd=_183 CW20 m(1) blem // CLASS WORK - W2 // Description: Write a program that will print a particular message // depending on a temperature entered by the user // 11 1. Declare the needed variables // 2. Collect the user input 113. Determine with IF statements the temperature entered // 4. Output ONLY the correct message 1/ Here are the messages to output when the temperature is... 11 (1) Above 90 degrees: "Super HOT!!!" 17 (2) Between 75 and 89: "Warm enough for the beach" 17 (3) Less than 70 but above 60: "Pleasant to walk" 11 (4) Higher than 10 and at most 40: "It's getting cold" // (5) Between -10 and 9: "Ouch, it's really cold!" // // #include using namespace std; // Header file needed for I/O // Line used for simplicity ter int main() 77. 1. Declare the variables needed for this program. 1/ 2. Collect the user input needed 1 3. IF statements for the correct message

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

Strategic Database Technology Management For The Year 2000

Authors: Alan Simon

1st Edition

155860264X, 978-1558602649

More Books

Students also viewed these Databases questions

Question

Complexity of linear search is O ( n ) . Your answer: True False

Answered: 1 week ago