Question: C++ PLEASE Program #2 Your second program is a modification of Problem 12 on page 144 of our text (Problem 10, p 144 in the
C++ PLEASE


Program #2 Your second program is a modification of Problem 12 on page 144 of our text (Problem 10, p 144 in the 7h Edition). In that problem, the user inputs a temperature value in degrees Celsius and the program then calculates the equivalent temperature in Fahrenheit. Let's modify the problem in the following way. Rather than requiring the user to input just a Celsius temperature and then calculating the Fahrenheit temperature from it, let's calculate equivalent temperatures in both directions. In addition, we'll add to the report the equivalent temperature in a third temperature scale, namely, Kelvin. We'll first ask the user for a Celsius temperature and then print a report about both the Fahrenheit and the Kelvin temperatures. The output should like the following: Please enter a number in degrees Celsius: 45.2 The equivalent Fahrenheit temperature is: The equivalent Kelvin temperature is: 113.36 degrees. 318.35 K. Your program will then ask the user to input a number in degrees Fahrenheit and print the equivalent Celsius and Kelvin degrees: Please enter a number in degrees Fahrenheit 45.2 The equivalent Celsius temperature is: The equivalent Kelvin temperature is 7.33 degrees. 280.48 K. And finally, it should ask for a Kelvin temperature and print out the result in Celsius and Fahrenheit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
