Question: Java program (a) If a student answered more than 50 questions, print an error message, skip the rest of the processing, and go on to

Java program
(a) If a student answered more than 50 questions, print an error message,
skip the rest of the processing, and go on to the next student.
(b) Make sure that you do not divide by 0 if the student answered no questions (everything was omitted). Print a special message and go on to the next student.
(c) Keep track of the student with the best correct answer percentage and the one with the highest grade. (These do not have to be the same--to test, make sure they are different.) Print these out at the end.
(d) use a table to display the output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!