Question: Java languege Ex. No: 2.1 Modify the above application to input the details of n runners and to print out the name ad time of

Java languege

Ex. No: 2.1 Modify the above application to input the details of n runners and to print out the name ad time of the winning runner. If the runners are tied, then their data should be printed in the order it was entered with a message indicating a tie. Sample output: Enter how many runner are there in the race:4 Enter the name and time of runner 1:Bob 42.5 Enter the name and time of runner 2:alice 41.11 Enter the name and time of runner 3:Kim 42.3 Enter the name and time of runner 4:Jim 41.22 Race Report Runner 2 is the winner alice 0:0:41.11 Average time:0:0:41

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!