c# please…
Lottery Number Generator
Design a program that generates a 7-digit lottery number. Theprogram should have an Integer array with 7 elements. Write a loopthat steps through the array, randomly generating a number in therange of 0 through 9 for each element. (Use the random functionthat was discussed in Chapter 6.) Then write another loop thatdisplays the contents of the array.
Expert Answer
An answer will be send to you shortly. . . . .