Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 eClass

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

What is the binomial distribution?

Answered: 1 week ago