2 Lottery Winners Lottery Ticket Buyer Purchases 10 Tickets Week Always Playing 10 Five Di Q37131045

2. Lottery Winners A lottery ticket buyer purchases 10 tickets a week, always playing the same 10 five-digit lucky combinat2. Lottery Winners A lottery ticket buyer purchases 10 tickets a week, always playing the same 10 five-digit “lucky” combinations. Write a program that initializes an array with these numbers and then lets the player enter this week’s winning five-digit number. The program should 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. Here are the numbers: 13579 26791 26792 33445 55555

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.