Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Help please and thank you. Note the change in naming conventions for your folders - this is to make Within the 1900 folder on your
Help please and thank you.
Note the change in naming conventions for your folders - this is to make Within the 1900 folder on your desktop, create a new folder named Lab7HW grading easier for the TAs! LastnameFi rstname Cony your RunAnalyzer java program from your in-lab submission to your Lab7HW folder. Modify the program average weekly mileage. This average weekly change should be computed and displayed regardless of so that it shows the average mileage change from week to week instead of the whether the weekly mileage is increasing. For example, if the user runs 3 miles in week 1, 7 miles in week 2, and 5 miles in week 3, the average weekly change would be computed as (4+ -2)/2-1. Here are two more 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? Enter miles run for week 1: Enter miles run for week 2: 3.2 Enter miles run for week 3: 3.8 Enter miles run for week 4: 4.5 Your weekly mileage is consistently inereasing! Average weekly mileage change: 0.5 Example 2: How many weeks of data do you have? Enter miles run for week 1: Enter miles run for week 2 10 Enter miles run for week 3: 12 Enter miles run for week 4: 12 Enter miles run for week 5: 15 Your weekly mileage is NOT consistently increasing! Average weekly mileage change: 1.0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started