A lottery ticket buyer purchases ten tickets a week alwaysplaying the same ten f
ID: 3616952 • Letter: A
Question
A lottery ticket buyer purchases ten tickets a week alwaysplaying the same ten five-digit "lucky" combinations. Write aprogram that initializes an array with these numbers and then letsthe player enter this week's winning five digit number. the programshould perform a linear search through the list of the player'snumbers and report whether or not one of the ticket is a winnerthis week. here are the numbers:13579 26791 26792 33445 55555
62483 77777 79422 85647 93121 show me output and put comments. A lottery ticket buyer purchases ten tickets a week alwaysplaying the same ten five-digit "lucky" combinations. Write aprogram that initializes an array with these numbers and then letsthe player enter this week's winning five digit number. the programshould perform a linear search through the list of the player'snumbers and report whether or not one of the ticket is a winnerthis week. here are the numbers:
13579 26791 26792 33445 55555
62483 77777 79422 85647 93121 show me output and put comments.