Question: Write a C program to compute the following: Exactly eight sprinters run a 100 meters race. Your program must prompt the user to enter the
Write a C program to compute the following: Exactly eight sprinters run a 100 meters race. Your program must prompt the user to enter the id number and time of each of the eight racers. Your program must determine both the winner of the race (the runner with the minimum time), and the second place finisher. (You do not have to calculate the average time.)
You may make the following assumptions: (i) there are no ties; and
(ii) each time entered is positive, and is less than 20 seconds.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
