Alottery ticket buyer purchases 10 tickets a week, always playing the same 10 5 digit "lucky" combinations. write a program that initializes an array or a vector with these numbers and then lets the player enter this weeks winning 5 digit number. the program should perform a linear search through the list of the players numbers and report whether or not one of the tickets is a winner this week. here are the numbers:
13579 26791 26762 33445 62483 79422 85647 93121

Solved
Show answers

Ask an AI advisor a question