Program that generates a 7-digit lottery number


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

1 DEVELOP AN UNDERSTANDING OF THE PROBLEM.

2 DEVELOP A SOLUTION ALGORITHIM

3 AND CODE A RAPTOR CHART OF YOUR SOLUTION.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Program that generates a 7-digit lottery number
Reference No:- TGS0537173

Expected delivery within 24 Hours