Design a program that generates a 7-digit lottery number. The programshould have a interger array with 7 elements. Write a loop that stepsthrough the array, randomly generating a number in the range of 0through 9 for each element ( use the random function that was discussedin chapter 6) Then write another loop that displays the contents of thearray.

I need this in pseudocode and if it is good I will use you in another program

Leave a Reply

Your email address will not be published. Required fields are marked *