1. Engineering
  2. Computer Science
  3. 3 10 marks the number of calories burned per hour...

Question: 3 10 marks the number of calories burned per hour...

Question details

3. [10 marks] The number of calories burned per hour by bicycling, jogging, and swimming are 200, 475, and 275, respectively A person loses 1 pound of weight for each 3500 calories burned. Write code to read the number of hours spent at each activity and then display the number of pounds worked off. A sample run is shown below. Triathlon Number of hours cycling: 2 Number of hours 3 unning Number of hours swimming 1 Compute Weight Loss 0.6 pounds were lost.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution