![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
![Part B) Write a Fortran program to:
1. ask the user to enter her/his name (maximum 65 letters) via keyboard entry,
2. ask the user to enter a number between 0 to 1000 (including 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: by running your program, the following sentences, questions, and results should be printed accordingly on the
screen. Extra spaces in your output are fine. Those are due to the use of free formatting for print command. Output
formatting will be covered in the future lectures (???? means a keyboard entry, and XXXX means an output value
below.). Extra spaces in your output are fine. Those are due to the use of free formatting for print command. Output
formatting will be covered in the future lectures.
This program prints all odd numbers between 0 and your desired integer number (less than 1000) on
the screen and represents the sum of the odd numbers at the end.
Please enter your name (maximum 65 letters)
????
Please enter your desire integers number (your number should be between 0 to 1000)
2222
The odd numbers between 0 to XXXX are:
XXXX
XXXX
XXXX
The sum of these odd numbers is: XXXX](https://content.bartleby.com/qna-images/question/57adefd9-b9d4-4440-938f-c36be4563072/a11b734f-6434-4a5d-97e8-19c6f8b084a2/miqmcun_thumbnail.png)
Transcribed Image Text:Part B) Write a Fortran program to:
1. ask the user to enter her/his name (maximum 65 letters) via keyboard entry,
2. ask the user to enter a number between 0 to 1000 (including 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: by running your program, the following sentences, questions, and results should be printed accordingly on the
screen. Extra spaces in your output are fine. Those are due to the use of free formatting for print command. Output
formatting will be covered in the future lectures (???? means a keyboard entry, and XXXX means an output value
below.). Extra spaces in your output are fine. Those are due to the use of free formatting for print command. Output
formatting will be covered in the future lectures.
This program prints all odd numbers between 0 and your desired integer number (less than 1000) on
the screen and represents the sum of the odd numbers at the end.
Please enter your name (maximum 65 letters)
????
Please enter your desire integers number (your number should be between 0 to 1000)
2222
The odd numbers between 0 to XXXX are:
XXXX
XXXX
XXXX
The sum of these odd numbers is: XXXX
Expert Solution
![Check Mark](/static/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 5 steps with 2 images
![Blurred answer](/static/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Please review the image below. Produce the program in C++. Upload screenshots of Code and Output, as well as the source code. 2arrow_forward2. In C language, int i; for ( i = 0 ; i < 100000; i++ ) printf ( "%d \n", i ); how would you calculate the time spent on this code by the program in user mode ?arrow_forwardii) Your neighbour always keeps the wifi password after modifying the wifi name using some rules. The rules are: a) If there is a digit d in wifi name, then it will be 9-d in the password. b) Case of every alphabet is changes, i.e. upper to lower and lower to upper. c) Any other characters remain same. Write a C++ program in which you input the wifi name and the program prints the wifi password.arrow_forward
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
![Text book image](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
![Text book image](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
![Text book image](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
![Text book image](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
![Text book image](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education