Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started