Question: Write a program that prompts the user to enter the number of students, each student's name and score, and finally display the student with the

Write a program that prompts the user to enter the number of students, each student's name and score, and finally display the student with the highest score and the student with the second highest score. Sample Run: How many students would you like to add? 3 Enter the name for student 1: Jack Enter the grade for student 1: 89 Enter the name for student 2: Jill Enter the grade for student 2: 76 Enter the name for student 3: Peter Enter the grade for student 3: 65 Jack has the highest score and Jill has the second highest score. Naming Conventon: cst-150-highest-scores.py

CAUTION: Do it in python by using simple while or if loop not other than that.

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!