Question: Design an algorithm and write a C++ program that prompts the user to input his temperature in degrees Fahrenheit (F). If the user's temperature is

 Design an algorithm and write a C++ program that prompts the

Design an algorithm and write a C++ program that prompts the user to input his temperature in degrees Fahrenheit (F). If the user's temperature is greater than 98.6, then print to the screen the following message: You have a fever. Drink lots of liquids and healthy food. Dress light and get some rest. If the user's temperature is less than or equal to 98.6, then print to the screen the following message: You don't have a fever. Go study. Sample Outputs nter your temperature 100 ou have a fever. Drink lots of liquids and healthy food. ress light and get some rest Process returned 0 (0x0) execution time 6.715 s Press any key to continue Enter your temperature: 98 ou don't have a fever. Go study Process returned 0 (0x0) execution time 15.215 s Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!