Question: IM STUCK IN A LOOP. SOLVE USING RAPTOR. Ive attached my program. Im sure I can get the rest, I just cant figure out how
IM STUCK IN A LOOP. SOLVE USING RAPTOR. Ive attached my program. Im sure I can get the rest, I just cant figure out how to get out of this loop to continue to get the average. Input a list of students names and final grades each student with one final grade and store them in parallel arrays. End the input with a sentinel value. You have to use input validation to validate input grades to make sure they are in number format and in range i F
grade
CalculateAveragegrade
getLowestgrade
After completing all inputs. Figure out and print out the average of all the grades of the students. Find and print out the student who's grade is highest. Find and print out the student who's grade is lowest. Print out all student with grade with a message "Congratulations, Name, Grade, You passed this class!", for those whose grades Print out with a message: Sorry Name, Grade, You failed this class!"
Print out all student with grade with a message "Congratulations, Name, Grade, You passed this class!"
Print out all student with grade with a message "Sorry, Name, Grade, You failed this class!"
Print out the average of all students.
Print out student's name who's grade is highest.
Print out student's name who's grade is lowest.
Example: "Congratulations, Name: David, Grade: You passed this class!"
Sorry, Name: Kevin, Grade: You failed this class!" "The average is
"David with the highest score of
Kevin with the lowest score of
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
