Write a program that allows your user to
choose between rolling 1 and 5 dice. You should have 5 label
controls (the "dice"), 5 check boxes (each one associated with a
"die"), and a button titled "Roll" on your form. When the
"Roll" button is clicked, you should use the check boxes to
determine if that particular "die" should be rolled. If a
die should be rolled, calculate a random number between 1 and 6
and show that number in the label. When all "dice" are
"rolled" display a message reporting how many "dice" were
rolled.
You should write your own function to calculate the new
number for each "die," and a subroutine to calculate and display
the number of dice rolled.
Turn this program in by zipping
up your project directory and
placing the file in your folder on
the class FTP site. You can
get to the class FTP site
here.
When you have uploaded your project, please fill out the
form below to let me know.
Hours. (For example: 1.5 or 2)
Magic Box: (Questions, feedback, suggestions, short thought, short joke, ...)
By clicking the "Submit"
button you verify that you have
handed in your program.