Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started