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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started