subject

Jason, Samantha, Ravi, Sheila, and Ankit are preparing for an upcoming marathon. Each day of the week, they run a certain number of miles and write them into a notebook. At the end of the week, they would like to know the number of miles run each day, the total miles for the week, and average miles run each day. Write a program to help them analyze their data. Your program must contain parallel arrays: an array to store the names of the runners and a two-dimensional array of five rows and seven columns to store the number of miles run by each runner each day. Furthermore, your program must contain at least the following functions: a function to read and store the runners’ names and the numbers of miles run each day; a function to find the total miles run by each runner and the average number of miles run each day; and a function to output the results. (You may assume that the input data is stored in a file and each line of data is in the following form: runnerName milesDay1 milesDay2 milesDay3 milesDay4 milesDay5 milesDay6 milesDay7.)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 25.06.2019 03:30
All nate specialties are offered at two levels, a. journeyman and master. b. installation and service. c. apprentice and journeyman. d. heating and air conditioning.
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
You can fit more raw files on a memory card than the jpeg files? truefalse
Answers: 1
question
Computers and Technology, 25.06.2019 08:20
The control unit takes ths instructions fetched by the preteched unit and translates them into a form that can be understood by
Answers: 1
question
Computers and Technology, 25.06.2019 21:00
An in active student wants to become more physically active but does not want the money to pay for gym membership what is the most effective think she can do to develop realistic fitness routine
Answers: 2
You know the right answer?
Jason, Samantha, Ravi, Sheila, and Ankit are preparing for an upcoming marathon. Each day of the wee...
Questions
question
Mathematics, 04.11.2020 20:10
question
Mathematics, 04.11.2020 20:10
question
Computers and Technology, 04.11.2020 20:10
question
English, 04.11.2020 20:10
question
Mathematics, 04.11.2020 20:10
question
Mathematics, 04.11.2020 20:10
Questions on the website: 13722367