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
Get step-by-step solutions from verified subject matter experts
