5-9) (Find the two highest scores) Write a program that prompts the user to enter the number of students and each student's name and score, and finally displays the student with the highest score and...


5-9) (Find the two highest scores)


Write a program that prompts the user to enter the number of students and each student’s name and score, and finally displays the student with the highest score and the student with the second-highest score.


5-9) (Find the two highest scores) Write a program that prompts the user to enter the number of students and each student's name and score, and finally displays the<br>student with the highest score and the student with the second-highest score.<br>SAMPLE RUN #4: Java TwoHighestScores<br>Standard Output<br>Hide Invisibles<br>Enter.the.number of students:Student.1.of.6+<br>Enter student's.name: Enter.student's score: Student.2.of.6+<br>Enter.student's name: Enter student's score:student 3.of.6+<br>Enter student's name: Enter.student's score:Student.4 of.6<br>Enter student's name: Enter student's.score:Student.5.of.6+<br>Enter.student's name: Enter student's score:Student.6.of.6<br>Enter student's.name: Enter.student's.score: The highest.score.was.96.7.and Thomas Collins got-it<br>The second highest.score was 93.3e.and.Amy Dickstein.got.it<br>

Extracted text: 5-9) (Find the two highest scores) Write a program that prompts the user to enter the number of students and each student's name and score, and finally displays the student with the highest score and the student with the second-highest score. SAMPLE RUN #4: Java TwoHighestScores Standard Output Hide Invisibles Enter.the.number of students:Student.1.of.6+ Enter student's.name: Enter.student's score: Student.2.of.6+ Enter.student's name: Enter student's score:student 3.of.6+ Enter student's name: Enter.student's score:Student.4 of.6 Enter student's name: Enter student's.score:Student.5.of.6+ Enter.student's name: Enter student's score:Student.6.of.6 Enter student's.name: Enter.student's.score: The highest.score.was.96.7.and Thomas Collins got-it The second highest.score was 93.3e.and.Amy Dickstein.got.it

Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here