Question: Write a program in FORTRAN90 that asks the user to select an interval [a b] and prints 1) the sum of even numbers belonging
Write a program in FORTRAN90 that asks the user to select an interval [a b] and prints 1) the sum of even numbers belonging to the interval and their number 2) the sum of the odd numbers belonging to the interval and their number 3) the sum of the prime numbers belonging to the interval and their number 4) the average of the numbers belonging to the interval 5) the number of all the numbers belonging to that interval
Step by Step Solution
There are 3 Steps involved in it
Heres a FORTRAN90 program that prompts the user to enter an interval a b and then performs the reque... View full answer
Get step-by-step solutions from verified subject matter experts
