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
Get step-by-step solutions from verified subject matter experts
