Reference no: EM132192708
Write an algorithm to calculate a students' average based on their 5 test scores, and then calculate their grade using the grading standard listed below.
Inputs: There are 10 students listed by last name, and each student has 5 test scores. This information is located in a file on disk that must be opened and read. Here is an example of the format of the student data:
Johnson 85 83 77 91 76
Algorithm: Your solution should include how to read the data from the file, how to store the data, how to calculate the average score, and how to calculate the student's grade.
Outputs: Each student's name, their average score and their calculated grade.
Please do not write any code for this question.
If a student's average is between these scores, then the grade is as listed.
90-100 A
80-89 B
70-79 C
60-69 D
0-59 F
Questions to answer:
What input data is needed by the program?
What output data is generated by the program?
Describe how the input data will be transformed into the output data. Please do this using a flowchart.