Question: 4. Write a program that converts a temperature from degrees fahrenheit to degrees centigrade. The formula for converting the temperature from degrees fahrenheit to degrees
4. Write a program that converts a temperature from degrees fahrenheit to degrees centigrade. The formula for converting the temperature from degrees fahrenheit to degrees centigrade is: C = (5 / 9) * (F-32) Your program should prompt the user to enter a temperature given in degrees Fahrenheit. Output the temperature both in fahrenheit and centigrade. Format your output to have 2 decimal places. (Hint: Make sure the formula does floating point calculations.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
