Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ use if and if else statement please +0 Points (Find the two highest scores) Write a program that prompts the user to enter the

c++ use if and if else statement please image text in transcribed
+0 Points (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 displays the name and score of the student with the highest score and the student with the second-highest score. 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

Define the process of communication

Answered: 1 week ago

Question

Explain the importance of effective communication

Answered: 1 week ago

Question

* What is the importance of soil testing in civil engineering?

Answered: 1 week ago

Question

Explain the concept of shear force and bending moment in beams.

Answered: 1 week ago