I do not know what to do for this Visual Basic 2005 problem. It asks to write a program that calculates the amount of money
earned in a walk-a-thon. It is supposed to:
- Request the amount pledged per mile from an input dialog box, and assign it to the variable "pledge".
- Request the number of miles walked from an input dialog box, and assign it to the variable "miles".
- Display a sentence giving the amount to be paid.
- Declare all variables used
I was testing the program with a pledge of $2.00 and a 15-mile walk.