Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Input a list of students names and final grades ( each student with one final grade ) and store them in parallel arrays. End the

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.
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"

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_2

Step: 3

blur-text-image_3

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

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions

Question

=+What the product does for the end-user.)

Answered: 1 week ago