subject

You are training to complete in a local 5k run. you record your time scores in minutes after completing seven practice runs. write a program to calculate and print the average score based on the data.

before calculating the average, you decide to throw out the lowest and highest scores.

your program should do the following:

declare and initialize the array with the recorded time scores such as 24.6

determine the maximum and minimum values in the array

compute the average of the array contents, excluding the maximum and minimum values

print the values in the array, excluding the maximum and minimum values

print the average

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:30, Angellbatton6763
At an open or uncontrolled intersection, yield if a. your road is paved and the crossroad is not b. the cross road is paved and yours is not c. you have two or more passengers in your vehicle d. you did not yield in the last intersection
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, hannahrasco4051
Pl i need the answer now ! which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, abdulbasharee99
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
image
Computers and Technology, 23.06.2019 17:30, cxttiemsp021
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
You know the right answer?
You are training to complete in a local 5k run. you record your time scores in minutes after complet...

Questions in other subjects:

Konu
Mathematics, 11.05.2021 22:00