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
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