Question: An Introduction to Programming Using Visual Basic Q74. Walk-a-Thon: The following steps calculate the amount of money earned in a walk-a-thon: a) Declare the variable

An Introduction to Programming Using Visual Basic

Q74. Walk-a-Thon: The following steps calculate the amount of money earned in a walk-a-thon:

a) Declare the variable pledge and miles as type Decimal.

b) Request the amount pledged per mile from an input dialog box, and assign it to the variable pledge.

c) Request the number of miles walked from an input dialog box, and assign it to the variable miles.

d) Display a sentence giving the amount to be paid.

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!