|
Hello, I am writing a program in which the user get to pick three choices the are command buttons. The command buttons generate randomized numbers 1-20. I need help figuring out how to put a dollar value to each number 1-20, then add the three amount the user has accumulated. the code so far is; Dim intResult as integer Dim amountEarned1 as single Randomize intResult = ((20 * rnd) + 1) Case 1 amountEarned1 = .75 msgBox ( "you have earned .75")
I need twenty different values and need to add three values once the user selects three choices. Any help would be greatly appreciated.
|