Question: LABO3 Use of Loops and Arrays a) Write a program which creates a conversion table from Centigrade to Fahrenheit and Kelvin (from 0C to 21C

 LABO3 Use of Loops and Arrays a) Write a program which

LABO3 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 Labo30.590 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 eClass

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!