Using the scenario below, answer the following questions:

You are preparing for the Boston Marathon. In order to prepare, you need to train for 10 weeks, running an increasing number of miles per week, starting at running at least 2 miles your first week up to 26 miles by week 10.

1.) Initialize the array with the appropriate number of values.

2.) What is the value in the array element when the index contains 2?

3.) What is your list length?

4.) Calculate the sum of the total miles you spent running over the 10 weeks. Calculate the average number of miles you ran.

5.) Write a search to determine whether 4 is on your list.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.