Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

6. Explain the power of labels.

Answered: 1 week ago

Question

10. Discuss the complexities of language policies.

Answered: 1 week ago