Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you please show how I would write the program out? thanks! please so all work The number of calories burned per hour by cycling,

image text in transcribed

Can you please show how I would write the program out? thanks! please so all work

The number of calories burned per hour by cycling, running, walking, and swimming are 200, 475, 175, and 275, respectively. A person loses 1 pound of weight for each 3, 600 calories burned. Write a program to request the number of hours spent at each activity and then display the number of pounds worked off. Expected Sample Output: >>> runfile('/Users/onsayse/CSE201_F16/HOMEWORK/Homework3/problem3.py', wdir=, /Users/onsayse/CSE201_F16/HOMEWORK/Homework3') Enter number of hours cycling: 2 Enter number of hours running: 3 Enter number of hours swimming: 1 Weight loss: 0.6 pounds >>>

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_2

Step: 3

blur-text-image_3

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

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

Explain the nature of human resource management.

Answered: 1 week ago

Question

Write a note on Quality circles.

Answered: 1 week ago

Question

Describe how to measure the quality of work life.

Answered: 1 week ago