Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment is from Introduction to Programming Using Visual Basic 10th edition. Visual Basic 2015 edition is preferred. Thank you for the help. 41. Triathlon

This assignment is from Introduction to Programming Using Visual Basic 10th edition. Visual Basic 2015 edition is preferred. Thank you for the help. image text in transcribed
41. Triathlon The number of calories burned per hour by cycling, running, and swim- ming 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 in Fig. 3.20. Electricity 2 Triathion Device: light bulb Wattage 100 Number of houro cycling. 2 Number of hours running 3 Number of houre owinming t Compute Weight Loss Hours used: 720 Prico por kWh in cents: 1265 Calculste Cost 0 6 pounds were lost Cost (n dollara):9.11 FIGURE 3.20 Possible outcome of Exercise 41. FIGURE 3.21 Possible outcome of Exercise 42

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

What Is A Database And How Do I Use It

Authors: Matt Anniss

1st Edition

1622750799, 978-1622750795

More Books

Students also viewed these Databases questions