Question: This need to be done in C# programming language Your instructor runs a lot of marathons. Write a program to allow him to find his

This need to be done in C# programming language

Your instructor runs a lot of marathons. Write a program to allow him to find his fastest, slowest and average time of up to 10 races.

Your program should ask for times for each race in hours, minutes and seconds. After 10 races have been entered or the user has typed 1 (to indicate the end of input) you will provide the following output:

Race 1: {time}

Race 2: {time} **FASTEST**

....

....

Race {n1}: {time} **SLOWEST**

Race {n}: {time}

Average time: {time}

You will need to store the input in an array so that you can output them at the end. Obviously, the words FASTEST and SLOWEST should be on the correct line. You may not use any built-in functions on the arrays to calculate the fastest, slowest, and average. Average should be rounded to the closest second.

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!