Question: Goal: Use mathematical expression and operator priority correctly Assignment: For the last week, TheTrainCompany has received complaints that most of their scheduled trips have accumulated
Goal: Use mathematical expression and operator priority correctly
Assignment: For the last week, TheTrainCompany has received complaints that most of their scheduled trips have accumulated significant delays. Since there were no reports of issues within the network or train speed, the investigation turned to the delays related to increased boarding time at each station.
Let the user input the delay in seconds accumulated in consecutive stations and store these in integer variables dots, Then, output the average delay.
Sample run:
Input delays:
The average delay was seconds.
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
