Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
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