Question: Write in Java, (10 pts) Suppose you're training for a footrace, and you've been keeping track of your total miles run per week. You have

Write in Java,
 Write in Java, (10 pts) Suppose you're training for a footrace,
and you've been keeping track of your total miles run per week.

(10 pts) Suppose you're training for a footrace, and you've been keeping track of your total miles run per week. You have data for several weeks now, and you want to determine whether you've been steadily increasing your weekly mileage. 2. Within your Lab6 folder, create a new file named RunAnalyzer.java. Write a program that allows the user to enter weekly miles run for a user-specified number of weeks. Your program should then determine and report whether the data is consistently increasing. (If the miles run for any week are less than or equal to the miles run for the previous week, the data is not consistently increasing.) The program should also compute and display the average mileage increase per week. This average mileage increase should be computed and displayed regardless of whether the data is consistently increasing. Here are two examples of what your program might look like when you run it. Underlined portions indicate user input. Example 1: How many weeks of data do you have? nter miles run for week 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!