Question: 17. In this exercise, you code an application that generates and displays six unique random numbers for a lottery game. Each lottery number can range
17. In this exercise, you code an application that generates and displays six unique random numbers for a lottery game. Each lottery number can range from 1 through 54 only.
Open the VB2015\Chap09\Lottery Solution\Lottery Solution (Lottery Solution.sln)
file. (The image in the picture box is provided courtesy of OpenClipArt.org/ivak.)
The btnDisplay_Click procedure should display six unique random numbers in the interface. (Hint: Store the numbers in a one-dimensional array.) Code the application, and then test it appropriately.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
