Scenario a lottery ticket buyer purchases 10 tickets a week


Scenario: A lottery ticket buyer purchases 10 tickets a week and always the same 10 five-digit lucky combinations.

A program initializes an array with these numbers and then lets the player enter this week's winning five-digit number. The program will perform a linear search through the list of the player's numbers and report whether or not one of the tickets is a winner this week. 

The numbers are: 13579 26791 26792 33445 55555 62483 77777 79422 85647 93121

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Scenario a lottery ticket buyer purchases 10 tickets a week
Reference No:- TGS02868571

Now Priced at $10 (50% Discount)

Recommended (99%)

Rated (4.3/5)