C++ code that accept the names and finish times of 3 racers, and will determine
ID: 3638653 • Letter: C
Question
C++ code that accept the names and finish times of 3 racers, and will determine and display their finish order. You may assume that there are no ties, i.e. no one has a duplicate finish time.
Here is a sample run (user input shown in bold):
What is the first runner's name: Rabbit
What was Rabbit's time, in seconds: 17
What is the second runner's name: Turtle
What was Turtle's time, in seconds: 15
What is the third runner's name: Roadrunner
What was Roadrunner's time, in seconds: 16
1st place: Turtle
2nd place: Roadrunner
3nd place: Rabbit