Question: 1. Write a Fortran program temp.f95 which prompts the user to enter a (real) temperature value in Centigrade (To), within the ange 0 Tc 100,

1. Write a Fortran program temp.f95 which prompts the user to enter a (real) temperature value in Centigrade (To), within the ange 0 Tc 100, and converts it to Fahrenheit (T). (The conversion formula is Ty = (9/5) T + 32.) The temperature in Fahrenheit should be written to the screen, to the nearest whole number If a temperature outside the desired range is entered, a message should be written saying that the value entered was too low or too high, as appropriate (and no conversion should be made) Submit a listing of the program temp.95, including a note of the Fahrenheit temperature it calculates for Tc=36 1. Write a Fortran program temp.f95 which prompts the user to enter a (real) temperature value in Centigrade (To), within the ange 0 Tc 100, and converts it to Fahrenheit (T). (The conversion formula is Ty = (9/5) T + 32.) The temperature in Fahrenheit should be written to the screen, to the nearest whole number If a temperature outside the desired range is entered, a message should be written saying that the value entered was too low or too high, as appropriate (and no conversion should be made) Submit a listing of the program temp.95, including a note of the Fahrenheit temperature it calculates for Tc=36
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
