Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw a flowchart that would provide a workable solution to the following problem. A teacher would like a program to help calculate student grades and

Draw a flowchart that would provide a workable solution to the following problem.
A teacher would like a program to help calculate student grades and print a report. They would like the program to work in the follow manner:
1. All data entry, names and scores, will be done on the keyboard.
2. Have the user (the teacher, the person running the program) enter the name of the first student. The program should work for any number of students up to twenty. There needs to be some sort of end-of input check. You do not need to check for more than 20; there will never be more than 20 students in a class, but there could be less than 20.
3. If it is not the end of input, have the user enter three scores between 0 and 100 inclusive. It is not necessary to do error checking, you can assume that the user will enter scores in the correct range.
4. Calculate the average of the three scores.
5. Determine the letter grade based on
Average 90 or above = A
Average 80 up to but not including 90 = B
Average 70 up to but not including 80 = C
Average 60 up to but not including 70 = D
Average less than 60 = F
(Hint: Determining the letter grade is not a Process or Input operation. Think series of Decisions.)
6. Print the students name and letter grade.
7. At the end of the report print the total number of students in the class.

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

Database Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions