Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 0-100.i 6 F...
grade [i]larr1
CalculateAverage(grade)
getLowest(grade)
90%
2. 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 >=60 with a message "Congratulations, Name, Grade, You passed this class!", for those whose grades 60, Print out with a message: ""Sorry, Name, Grade, You failed this class!"
+ Print out all student with grade >=60 with a message "Congratulations, Name, Grade, You passed this class!"
+ Print out all student with grade 60 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: 89, You passed this class!"
" Sorry, Name: Kevin, Grade: 55, You failed this class!" "The average is 70"
"David with the highest score of 89"
" Kevin with the lowest score of 55"
image text in transcribed

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

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

1 What demand is and what affects it.

Answered: 1 week ago