Challenge
No
Write a program to help small towns estimate the length of parades, like their July 4th parade.
Parades have floats and marching bands. Each float needs 30 meters. Each band needs 100 meters.
The worksheet starts like this:
The user types the number of floats and bands, and presses Run.
Add validation. Make sure that floats and bands are numbers, and zero or more. If the data is bad, show an error message in a MsgBox
, and end the program. For example:
If the input is OK, compute and output the result.
Another example:
Follow the usual coding standards for indenting and such.
Upload your worksheet.
If you were logged in as a student, you could submit a solution to this exercise.
Where referenced