Question: Write a program that asks for the names of three runners and the time it took each of them to finish a race. The program

Write a program that asks for the names of three runners and the time it took each of them to finish a race. The program should display who came in first, second, and third place. Input Validation: Only accept positive numbers for the times.

Using the following test data: Paula Radcliffe 293 Usain Bolt 292 Joan Benoit Samuelson 302

Your output should look like this: Enter the names of three runners and their finishing times. I will tell you who came in first, second, and third. Name of Runner 1: Runner 1's finishing time: Name of Runner 2: Runner 2's finishing time: Name of Runner 3: Runner 3's finishing time:

Usain Bolt came in 1st place. Paula Radcliffe came in 2nd place. Joan Benoit Samuelson came in 3rd place.

This is C++ and let code can be works on visual studio 2017 please.

Use blank lines to separate the major parts of your main function. And show your output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!