Question: a. Write a Fortran program that asks the user for two real numbers and stores them as variables. Print the larger of the two numbers.

a. Write a Fortran program that asks the user for two real numbers and stores them as variables. Print the larger of the two numbers. If they are equal, print a message to that effect.

b. Write a Fortran program with a while loop that prints out all the even multiples of 3 between 0 and 20, inclusive.

c. Write a Fortran program with a counting loop that prints out all the even multiples of 3 between 0 and 20, inclusive.

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!