Question: Help please with this program and please comments to explain the functions. Write a C program that converts Fahrenheit temperatures to Celsius temperatures. The formula
Help please with this program and please comments to explain the functions.
Write a C program that converts Fahrenheit temperatures to Celsius temperatures. The formula IS: C = 5/9 (F - 32) Where F is the temperature in degrees Fahrenheit and C is the temperature in degrees Celsius. Be sure your program does not lose the fractional part of the answer. Use separate functions to: Print directions for the user. Read the temperature in degrees Fahrenheit from the user. Calculate the temperature in degrees Celsius. Print the temperature in both degrees Fahrenheit and degrees Celsius, appropriately labeled, with exactly 1 decimal place. Your main program should: Define variables to hold both temperatures. Call the function to print the directions. Call the function to read the temperature. Call the function to convert the temperature. Call the function to print both temperatures
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
