Introduction To Programming Using Visual Basic (11th Edition)
Introduction To Programming Using Visual Basic (11th Edition)
11th Edition
ISBN: 9780135416037
Author: David I. Schneider
Publisher: PEARSON
Question
Book Icon
Chapter 3.2, Problem 41E
Program Plan Intro

Implementation of a program to compute the weight lost due to burning calories by reading the total hours spent on activities like cycling, swimming, and running.

Program Plan:

Write a Visual Basic program to accomplish the following:

The values 200, 475, and 275 are the calories burned per hour due to cycling, running, and swimming.

Take inputs for the number of hours spent on activities like cycling, running, and swimming.

Calculate the total weight loss due to burning calories.

One pound is lost for every 3500 calories burned.

Blurred answer
Students have asked these similar questions
Growth of an Investment Suppose a fixed amount of money is deposited at the beginning of each month into an investment paying 6% interest compounded monthly. After each deposit is made, [new balance]=1.005∗[previous balance one month ago]+ [fixed amount]. Write a program that requests the fixed amount of the deposits as input and displays the balance after each of the first four deposits. See Fig. 5.14.
Locate a Letter Write a program that requests a letter, converts it to uppercase, and gives its first position in the sentence “THE QUICK BROWN FOX JUMPS OVER A LAZY DOG.” See Fig. 3.31.
Age Write a program that requests your date of birth as input and tells your age. Hint:Use the DateDiff function with the DateInterval.Year option, and then use an If block tomodify the result. See Fig. 4.23 and the note in Exercise 40.

Chapter 3 Solutions

Introduction To Programming Using Visual Basic (11th Edition)

Ch. 3.1 - Prob. 11ECh. 3.1 - Prob. 12ECh. 3.1 - Prob. 13ECh. 3.1 - Prob. 14ECh. 3.1 - Prob. 15ECh. 3.1 - Prob. 16ECh. 3.1 - Prob. 17ECh. 3.1 - Prob. 18ECh. 3.1 - Prob. 19ECh. 3.1 - Prob. 20ECh. 3.1 - Prob. 21ECh. 3.1 - Prob. 22ECh. 3.1 - Prob. 23ECh. 3.1 - Prob. 24ECh. 3.1 - Prob. 25ECh. 3.1 - Prob. 26ECh. 3.1 - Prob. 27ECh. 3.1 - Prob. 28ECh. 3.1 - Prob. 29ECh. 3.1 - Prob. 30ECh. 3.1 - In Exercises 31 and 32, complete the table by...Ch. 3.1 - In Exercises 31 and 32, complete the table by...Ch. 3.1 - Prob. 33ECh. 3.1 - Prob. 34ECh. 3.1 - In Exercises 33 through 40, determine the output...Ch. 3.1 - Prob. 36ECh. 3.1 - Prob. 37ECh. 3.1 - In Exercises 33 through 40, determine the output...Ch. 3.1 - Prob. 39ECh. 3.1 - In Exercises 33 through 40, determine the output...Ch. 3.1 - Prob. 41ECh. 3.1 - In Exercises 41 through 46, identify the...Ch. 3.1 - In Exercises 41 through 46, identify the...Ch. 3.1 - Prob. 44ECh. 3.1 - In Exercises 41 through 46, identify the errors....Ch. 3.1 - In Exercises 41 through 46, identify the...Ch. 3.1 - Prob. 47ECh. 3.1 - Prob. 48ECh. 3.1 - Prob. 49ECh. 3.1 - Prob. 50ECh. 3.1 - Prob. 51ECh. 3.1 - In Exercises 49 through 54, find the value of the...Ch. 3.1 - In Exercises 49 through 54, find the value of the...Ch. 3.1 - In Exercises 49 through 54, find the value of the...Ch. 3.1 - In Exercises 55 through 60, find the value of the...Ch. 3.1 - In Exercises 55 through 60, find the value of the...Ch. 3.1 - Prob. 57ECh. 3.1 - In Exercises 55 through 60, find the value of the...Ch. 3.1 - In Exercises 55 through 60, find the value of the...Ch. 3.1 - In Exercises 55 through 60, find the value of the...Ch. 3.1 - In Exercises 61 through 66, rewrite the statements...Ch. 3.1 - In Exercises 61 through 66, rewrite the statements...Ch. 3.1 - In Exercises 61 through 66, rewrite the statements...Ch. 3.1 - Prob. 64ECh. 3.1 - In Exercises 61 through 66, rewrite the statements...Ch. 3.1 - Prob. 66ECh. 3.1 - Prob. 67ECh. 3.1 - Prob. 68ECh. 3.1 - Prob. 69ECh. 3.1 - Prob. 70ECh. 3.1 - Prob. 71ECh. 3.1 - Prob. 72ECh. 3.1 - Prob. 73ECh. 3.1 - Prob. 74ECh. 3.1 - Prob. 75ECh. 3.1 - Prob. 76ECh. 3.1 - Prob. 77ECh. 3.1 - Prob. 78ECh. 3.1 - Prob. 79ECh. 3.1 - Prob. 80ECh. 3.1 - Prob. 81ECh. 3.1 - Prob. 82ECh. 3.1 - Prob. 83ECh. 3.1 - Prob. 84ECh. 3.1 - Prob. 85ECh. 3.1 - Prob. 86ECh. 3.2 - Prob. 1ECh. 3.2 - Prob. 2ECh. 3.2 - Prob. 3ECh. 3.2 - Prob. 4ECh. 3.2 - Prob. 5ECh. 3.2 - Prob. 6ECh. 3.2 - Prob. 7ECh. 3.2 - Prob. 8ECh. 3.2 - Prob. 9ECh. 3.2 - Prob. 10ECh. 3.2 - Prob. 11ECh. 3.2 - Prob. 12ECh. 3.2 - Prob. 13ECh. 3.2 - In Exercises 1 through 22, determine the output...Ch. 3.2 - Prob. 15ECh. 3.2 - Prob. 16ECh. 3.2 - Prob. 17ECh. 3.2 - Prob. 18ECh. 3.2 - Prob. 19ECh. 3.2 - Prob. 20ECh. 3.2 - Prob. 21ECh. 3.2 - In Exercises 1 through 22, determine the output...Ch. 3.2 - Prob. 23ECh. 3.2 - Prob. 24ECh. 3.2 - (True or False) If is the length of str, then is...Ch. 3.2 - (True or False) If n is the length of str, then ...Ch. 3.2 - Prob. 27ECh. 3.2 - Prob. 28ECh. 3.2 - Prob. 29ECh. 3.2 - Prob. 30ECh. 3.2 - Prob. 31ECh. 3.2 - Prob. 32ECh. 3.2 - Prob. 33ECh. 3.2 - In Exercises 27 through 34, identify any errors....Ch. 3.2 - Prob. 35ECh. 3.2 - Prob. 36ECh. 3.2 - Prob. 37ECh. 3.2 - Prob. 38ECh. 3.2 - Prob. 39ECh. 3.2 - Prob. 40ECh. 3.2 - Prob. 41ECh. 3.2 - In Exercises 39 through 44, write a program to...Ch. 3.2 - Prob. 43ECh. 3.2 - Prob. 44ECh. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - Prob. 56ECh. 3.2 - Prob. 57ECh. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.2 - In the following exercises, write a program to...Ch. 3.3 - Prob. 1ECh. 3.3 - Prob. 2ECh. 3.3 - Prob. 3ECh. 3.3 - Prob. 4ECh. 3.3 - Prob. 5ECh. 3.3 - Prob. 6ECh. 3.3 - Prob. 7ECh. 3.3 - Prob. 8ECh. 3.3 - Prob. 9ECh. 3.3 - Prob. 10ECh. 3.3 - Prob. 11ECh. 3.3 - Prob. 12ECh. 3.3 - Prob. 13ECh. 3.3 - Prob. 14ECh. 3.3 - Prob. 15ECh. 3.3 - Prob. 16ECh. 3.3 - Prob. 17ECh. 3.3 - Prob. 18ECh. 3.3 - Prob. 19ECh. 3.3 - Prob. 20ECh. 3.3 - Prob. 21ECh. 3.3 - Prob. 22ECh. 3.3 - Prob. 23ECh. 3.3 - Prob. 24ECh. 3.3 - Prob. 25ECh. 3.3 - Prob. 26ECh. 3.3 - In Exercises 1 through 52, determine the output...Ch. 3.3 - Prob. 28ECh. 3.3 - Prob. 29ECh. 3.3 - Prob. 30ECh. 3.3 - Prob. 31ECh. 3.3 - Prob. 32ECh. 3.3 - Prob. 33ECh. 3.3 - Prob. 34ECh. 3.3 - Prob. 35ECh. 3.3 - Prob. 36ECh. 3.3 - Prob. 37ECh. 3.3 - Prob. 38ECh. 3.3 - In Exercises 1 through 52, determine the output...Ch. 3.3 - Prob. 40ECh. 3.3 - Prob. 41ECh. 3.3 - Prob. 42ECh. 3.3 - Prob. 43ECh. 3.3 - Prob. 44ECh. 3.3 - In Exercises 1 through 52, determine the output...Ch. 3.3 - Prob. 46ECh. 3.3 - Prob. 47ECh. 3.3 - Prob. 48ECh. 3.3 - In Exercises 1 through 52, determine the output...Ch. 3.3 - In Exercises 1 through 52, determine the output...Ch. 3.3 - Prob. 51ECh. 3.3 - Prob. 52ECh. 3.3 - In Exercises 53 through 56, determine the output...Ch. 3.3 - In Exercises 53 through 56, determine the output...Ch. 3.3 - Prob. 55ECh. 3.3 - In Exercises 53 through 56, determine the output...Ch. 3.3 - In Exercises 57 through 64, identify any errors....Ch. 3.3 - Prob. 58ECh. 3.3 - In Exercises 57 through 64, identify any...Ch. 3.3 - Prob. 60ECh. 3.3 - Prob. 61ECh. 3.3 - Prob. 62ECh. 3.3 - Prob. 63ECh. 3.3 - Prob. 64ECh. 3.3 - Prob. 65ECh. 3.3 - Prob. 66ECh. 3.3 - Prob. 67ECh. 3.3 - Prob. 68ECh. 3.3 - Prob. 69ECh. 3.3 - Prob. 70ECh. 3.3 - Prob. 71ECh. 3.3 - In Exercises 71 and 72, write a statement to carry...Ch. 3.3 - Prob. 73ECh. 3.3 - Prob. 74ECh. 3.3 - Prob. 75ECh. 3.3 - Prob. 76ECh. 3.3 - Prob. 77ECh. 3.3 - Prob. 78ECh. 3.3 - Prob. 79ECh. 3.3 - Prob. 80ECh. 3.3 - Prob. 81ECh. 3.3 - Prob. 82ECh. 3.3 - Prob. 83ECh. 3.3 - How Old Would You Be on Mercury? The length of a...Ch. 3.3 - Change in Salary A common misconception is that if...Ch. 3.3 - Prob. 86ECh. 3.3 - Prob. 87ECh. 3.3 - Marketing Terms The markup of an item is the...Ch. 3 - Calculator Write a program that allows the user to...Ch. 3 - Repair Bill Suppose automobile repair customers...Ch. 3 - Prob. 3PPCh. 3 - Length Conversion Write a program to convert a...Ch. 3 - Car Loan If A dollars are borrowed at r interest...Ch. 3 - Prob. 6PPCh. 3 - Bond Yield One measure of a bond's performance is...
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr