Question: C programming Write a program to convert temperatures in degrees Fahrenheit to degrees Celsius The conversion formula is: F -32 You should display the result
C programming

Write a program to convert temperatures in degrees Fahrenheit to degrees Celsius The conversion formula is: F -32 You should display the result to two decimal places, as shown below. If the program receives input which cannot be parsed as a number, then it should reject it with an error message. You may assume that the input contains no whitespace in between non whitespace characters. Sample Input/Output Text Enter Fahrenheit temperature: 32 t .0 egrees celstus Text Enter Fahrenheit temperature: 75.6 75.60 degrees Fahrenheit is 24.22 degrees Celsius Text Enter Fahrenheit temperature: abc Invalid input Text Enter Fahrenheit temperature: 58.9a Invalid input You can assume that the input wll not havetrailing whitespace other than a newline character
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
