1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
natali 33 [55]
4 years ago
9

Write a program that prompts the user to enter the number of students and each student's name and score, and finally displays th

e student with the highest score and the student with the second highest score.

Computers and Technology
1 answer:
kiruha [24]4 years ago
7 0

Answer:

  see attachment

Explanation:

You have not specified the language, or the details of the I/O form or prompts. Here is a program that does that, written in Wolfram language (the language of Mathematica).

It prompts separately for student name and student score. The minimum score is presumed to be higher than -99999. If only one student name is entered, the second output is that score with no name listed. There is no error checking.

We have elected to keep a list only of the two two scores, and to sort that list again each time a new entry is made.

__

The attachment shows the output of the program below the program listing.

You might be interested in
High-level languages must be translated into machine language before they can be executed. _________________________
Rufina [12.5K]
High-level language programs must be translated into machine language before they can be executed. (Machine language instructions are encoded as binary numbers that are meant to be used by a machine, not read or written by people. The Java compiler translates Java programs into a language called Java bytecode.
4 0
3 years ago
An interstate route with even numbers travels north/south. True or false?
lisov135 [29]

Answer:

I believe the answer is False

7 0
3 years ago
Read 2 more answers
Which is the answer?
vesna_86 [32]

Answer:

initial

Explanation:

When a website's creators are in the design process, storyboarding is often part of the initial stages.

3 0
4 years ago
Read 2 more answers
DO YOU WANT FREE POINTS AND BRAINLIEST JUST ANSWER THIS QUESTION
Anastaziya [24]

Answer:

C) grip the sterring wheel firmly

Explanation:

5 0
4 years ago
Read 2 more answers
What effects convert colors in a picture to a wide variety of hues?
nadezda [96]
I believe it's color saturation.
3 0
3 years ago
Other questions:
  • A is the smallest unit of application data recognized bysystem software.
    12·1 answer
  • How does this app work?
    11·2 answers
  • What does it mean to design,<br> implement, and maintain computer<br> systems?
    15·1 answer
  • The northern half of this continent is primarily rainforest and savanna.
    5·1 answer
  • Describe the history of computer in Nepal.​
    9·2 answers
  • Cú pháp câu lệnh xóa thủ tục
    12·1 answer
  • the ratio of length, breadth and height of a room is 4:3:1. If 12m^3 air is contained in a room, find the length , breadth and h
    14·1 answer
  • A small business named Widgets, Inc. has hired you to evaluate their wireless network security practices. As you analyze their f
    13·1 answer
  • Elena wrote the following code in Scratch to have the sprite move and then turn around. However, the code does not work as expec
    5·1 answer
  • A project manager has designed a new secure data center and has decided to use multifactor locks on each door to prevent unautho
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!