Question: java language 4. (15 marks) The following shows the first few lines of a chart that may be useful in a gym weight room. lbs

java language java language 4. (15 marks) The following shows the first few lines

4. (15 marks) The following shows the first few lines of a chart that may be useful in a gym weight room. lbs 50% 50 25.0 60 30.0 70 35.0 80 40.0 90 45.0 100 50.0 55% 27.5 33.0 38.5 44.0 49.5 55.0 60% 65% 70% 75% 30.0 32.5 35.0 37.5 36.0 39.0 42.0 45.0 42.0 45.5 49.0 52.5 48.0 52.0 56.0 60.0 54.0 58.5 63.0 67.5 60.0 65.0 70.0 75.0 80% 40.0 48.0 56.0 64.0 72.0 80.0 85% 42.5 51.0 59.5 68.0 76.5 85.0 90% 45.0 54.0 63.0 72.0 81.0 90.0 95% 47.5 57.0 66.5 76.0 85.5 95.0 I e.g. the value 48.0 in the second column is 60% of 80 lbs. Write a program Weightchart that prints a chart of weight percentages according to the example above. For weights ranging from 50 to 500 in 10 lb increments, print each value from 50% to 95% in increments of 5%. Your program must use loops for the chart and the heading. Numbers and spacing should work out evenly for output

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!