Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Thank you so much. No rush for this. LABO2 Write a Fortran program to: 1- ask the user to enter their name (maximum 56 letters)

Thank you so much. No rush for this. image text in transcribed
LABO2 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 81000) 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: ???? ???? X 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

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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions