Question: Write a Fortran program to: 1- ask the user to enter their name (maximum 56 letters) via keyboard entry, 2- ask the user to enter

 Write a Fortran program to: 1- ask the user to enter

Write a Fortran program to: 1- ask the user to enter their name (maximum 56 letters) via keyboard entry, 2- ask the user to enter a number between 0 to 1000 (excluding 0 &1000) via keyboard entry, 3- print all odd numbers between 0 and the entered number by the user, 4- print the sum of the printed odd numbers on the screen. Note that by running your program, the following sentences, questions, and results should be printed accordingly on the screen. note: ???? means a keyboard entry, and XXXX means an output value. This program prints all odd numbers between 0 and your desired number less than 1000. Additionally, the program represents the sum of the odd numbers. Please enter your name (maximum 65 letters) Please enter your desire integers number your number should be between 0 to 1000) The odd numbers between 0 to XxXX are: ???? ???? The sum of these odd numbers is: XXXX Thank you xxXX for using this code

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!