Question: C++ PLEASE!! Write a C++ program that prompts the user to enter a value that represents a temperature reading in centigrade. The program will convert
C++ PLEASE!!
Write a C++ program that prompts the user to enter a value that represents a temperature reading in centigrade. The program will convert the input to the equivalent Fahrenheit and display the conversion on the monitor. For example if the user enter the temperature reading 0 the program should display the equivalent Fahrenheit temperature = 32 degrees. T(F) = T(C) 9/5 + 32 or T(F) = T(C) 1.8 + 32 Exercise 2: Modify the program you wrote in Exercise 1 above to allow the user the option to convert from Fahrenheit to centigrade or from Centigrade to Fahrenheit. First step: The program prompts the user to enter the type of conversion he/she wants to make. Example: enter 1 if you want to convert from Fahrenheit to centigrade, enter 2 to convert from centigrade to Fahrenheit. Second step: The program then performs the selected conversion and display the output to the monitor. Third step: The program should decide if the temperature entered is hot, moderate or cold based on the following ranges: 1. temperature < 50 Cold 2. 50 < temperature < 75 Moderate 3. 75 < temperature Hot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
