[Solved] Write the Java code for the following array: You are preparing for the Boston Marathon
Write the Java code for the following array: 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. Calculate the sum of the total miles you spent running over the 10 weeks. Calculate the average number of miles you ran.
Expert Answer
Answer to Write the Java code for the following array: You are preparing for the Boston Marathon….
OR

