Answered step by step
Verified Expert Solution
Question
1 Approved Answer
need a answer to these questions in FORTRAN LAB03 Use of Loops and Arrays a) Write a program which creates a conversion table from Centigrade
need a answer to these questions in FORTRAN
LAB03 Use of Loops and Arrays a) Write a program which creates a conversion table from Centigrade to Fahrenheit and Kelvin (from 0C to 21C inclusive). Use the following formula for conversion; note that your table should be in the form of a matrix which first column is Centigrade, second column Fahrenheit, and third column Kelvin. F = 32 + 1.8C and K=C+273.15 Save your code as Labo3a.f90 and submit on eClass. b) Modify this program so that it asks the user to enter the range of the table (start temp. and stop temp.), checks if the range is between -10C to 200C. If so, prints the table on screen, otherwise asks the user to enter the range again. Note that your table should be in the form of a matrix which first column is Centigrade starting from start temp. and end to stop temp. with an increment equal to 3C. The second column of the table should be Fahrenheit, and the third column should be Kelvin. Save your code as Lab03b.f90 and submit on eClassStep 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