subject

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. assume that the number of students is at least 2.

sample run

enter the number of students: 5

enter a student name: smith

enter a student score: 60

enter a student name: jones

enter a student score: 96

enter a student name: peterson

enter a student score: 85

enter a student name: greenlaw

enter a student score: 98

enter a student name: zhang

enter a student score: 95

top two students:

greenlaw's score is 98.0

jones's score is 96.0

python coding

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
How do you know if the website is secure if you make a purchase
Answers: 2
question
Computers and Technology, 24.06.2019 21:40
Assume you need to test a function named inorder. the function inorder receives three int arguments and returns true if and only if the arguments are in non-decreasing order: that is, the second argument is not < the first and the third is not < the second. write the definition of driver function testinorder whose job it is to determine whether inorder is correct. so testinorder returns true if inorder is correct and returns false otherwise. for the purposes of this exercise, assume inorder is an expensive function call, so call it as few times as possible!
Answers: 1
You know the right answer?
Find the two highest scores)

write a program that prompts the user to enter the number...
Questions
question
English, 03.09.2021 05:30
question
Mathematics, 03.09.2021 05:30
question
English, 03.09.2021 05:30
Questions on the website: 13722367