Question: Problem Statement: Develop a modular program that calculates the final grades after dropping the lowest grade among the five tests students listed below took and
Problem Statement:
Develop a modular program that calculates the final grades after dropping the lowest grade among the five tests students listed below took and assigns a letter grade using the standard grading scale shown below.
Student list Ann, Bob, Cara, Don, Eve
Grading Scale
Average Test Score Letter Grade
A
B
C
D
F
User should be prompted for the test scores for each student in the list. The output should be as shown in the examples below.
Note, that only method names are provided not complete method headers. You can determine the return type and parameters for the methods based on the name of the methods and the comments provided. In addition, invalid inputs should not be passed to other methods. This is not to suggest for you to look up and use topics that was not covered in class. We will use the other options and improve our codes after the chapters are covered. Validate inputs using loops, if statements, string methods, char methods, and etc.
Your program should do the following :
start
Create arrays to store the following info in the methods needed
student names array one dimensional Student list Ann, Bob, Cara, Don, Eve
student grades array two dimensional
final grades array one dimensional with the lowest removed
for each student
populate student test scores array with user input
getstudentTestScores
Calculate the average grade before & After dropping the lowest
calculateAverageGrade;
Find & the lowest grade to drop
findLowestGrade
Find & display the lowest grade to drop per student
removeLowestGrade
Assign letter grade before & After dropping the lowest
assignLetterGrade ;
Display the student grade record
displayStudentGradeReport
end
The output should be as shown in the examples below. Note: User input is in bold after each prompt
Please enter test scores for Ann
Test # :
Test # :
Test # :
Test # :
Test # :
Before Drop After Drop
Student Name Test Test Test Test Test Average Grade Lowest Average Grade
Ann C A
Please enter test scores for Bob
Test # :
Test # :
Test # :
Test # :
Test # :
Before Drop After Drop
Student Name Test Test Test Test Test Average Grade Lowest Average Grade
Bob C B
Please enter test scores for Cara
Test # :
Test # :
Test # :
Test # :
Test # :
Before Drop After Drop
Student Name Test Test Test Test Test Average Grade Lowest Average Grade
Cara D C
Please enter test scores for Don
Test # :
Test # :
Test # :
Test # :
Test # :
Before Drop After Drop
Student Name Test Test Test Test Test Average Grade Lowest Average Grade
Don D D
Please enter test scores for Eve
Test # :
Test # :
Test # :
Test # :
Test # :
Before Drop After Drop
Student Name Test Test Test Test Test Average Grade Lowest Average Grade
Eve F F
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
