Question: help with this algorithm and programming problem HAS TO BE SOLVED IN THE PSEINT PROGRAM. The official times recorded (in minutes) for 7 runners of
help with this algorithm and programming problem HAS TO BE SOLVED IN THE PSEINT PROGRAM.
The official times recorded (in minutes) for 7 runners of the 5-kilometer race Anhuac-Mayab 2020 were as follows:
Corridor 1
23
Corridor 2
36
Corridor 3
19
Corridor 4
22
Corridor 5
28
Corridor 6
25
Corridor 7
31
Develop an algorithm that allows the user to enter these times and store them in a one-dimensional array (10 points). Subsequently, the algorithm must calculate and display the following:
The average time taken by runners to complete the race (10 points).
How many runners finished the race in under 25 minutes? (15 points).
What was the longest time recorded by a runner and what was his average pace per kilometer (minutes x km)? Taking into account that the average pace is calculated by dividing the official time (in minutes) by the number of kilometers traveled (consider decimals) (15 points).
Note: The use of cycles is essential for travel and operations with the arrangement.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
