Question: I'm Just stumped on these problems. Write a Visual Basic Program Program 2: Weight Loss from Triathlon Participants in a triathlon complete a series of

I'm Just stumped on these problems.

Write a Visual Basic Program

Program 2: Weight Loss from Triathlon

Participants in a triathlon complete a series of three events. The first to finish all three is the winner. The events are:

  1. Running
  2. Swimming
  3. Biking

Suppose a person burns 475 calories per hour or running, 275 calories per hour swimming and 200 calories per hour of biking.

Design a form that allows inputs (text boxes) for the amount of time spent on each activity and then computes the total weight loss in pounds. (One pound of weight is lost for 3500 calories expended.) Add up the total calories burned by all three events then divide the sum by 3500 to get pounds lost.

You may use text boxes for program inputs, a button to execute the calculations and a list box, label or text box to show the results. Your form should also have Quit button as shown in class to terminate the form.

Program 3: Training Heart Rate

The American College of Sports Medicine recommends that you maintain a training heart rate (THR) during an aerobic workout. Your training heart rate is computed as:

(220 your age) times 0.7 plus resting heart rate (RHR) times 0.3

Design a form that allows inputs for age and RHR then computes and outputs the recommended THR. You may use text boxes for program inputs, a button to execute the calculations and a list box, label or text box to show the results. Your form should also have the Quit button to terminate the form.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!