Answered step by step
Verified Expert Solution
Question
1 Approved Answer
python please Write a program that prompts the user to enter the number of students and each student's score. Your program should display the highest
python please
Write a program that prompts the user to enter the number of students and each student's score. Your program should display the highest score and the second highest score. You can assume that integers are valid (i.e. greater than or equal to 0) and that the user has entered the correct number of scores into your program (i.e. greater than 0). For example: Input Result 3 43 25 10 Enter the number of students: 3 Enter a student score: 43 Enter a student score: 25 Enter a student score: 10 The highest score is 43. The second highest score is 25. 2 84 56 Enter the number of students: 2 Enter a student score: 84 Enter a student score: 56 The highest score is 84. The second highest score is 56
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