Computers and Technology
Computers and Technology, 10.11.2020 07:30, rose3358

You have been asked to write a program for an Obstacle Race. The program calculate the total number of racers, the fastest race time, the slowest race time, and the overall average race time. All race times should be greater than 0.

Your program should:

Ask the user to enter race times (in minutes)
Set a maximum number of racers for the race
Use repetition to continue to accept race times until the user specifies there are no more times to enter or times have been entered for the maximum number of racers allowed
At a minimum, within the loop, you should keep track of how many race times are entered, the fastest race time and the slowest race time.
After the loop is exited, display how many race times were entered, the fastest race time, the slowest race time and the overall average race time.
Format your output appropriately
Be sure to include all appropriate documentation at the start of the program and within the program

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 10:30, tommyaberman
Would a ps4 wired controller work on an xbox one
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, lorelaistudent
Does anybody know how to hack into a google account? i had important information on it and it is gone now and i need getting it back.
Answers: 1
image
Computers and Technology, 24.06.2019 21:40, imamador6396
Which of these is not a type of socket? aga (alternating grid array) pga (pin grid array) spga (staggered pin grid array) lga (land grid array)
Answers: 1
image
Computers and Technology, 25.06.2019 08:10, aneisha0117
Which of the following statements is false? a. package access is rarely used. b. use the access modifier package to give a method or variable package access. c. classes in the same source file are part of the same package. d. if a program uses multiple classes from the same package, these classes can access each other's package access members directly through references to objects of the appropriate classes, or in the case of static members, through the class name.
Answers: 1
Do you know the correct answer?
You have been asked to write a program for an Obstacle Race. The program calculate the total number...

Questions in other subjects: