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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock