HI IM STUDENT THAT NEED YOU HELP TO SOLVE THIS PROGRAMATION..PLEASEEE CAN YOU HELP ME TO SOVE IT ?
THIS IS MY ASSIGNMET:
THE LOTTERY WINNERS
The purpose of this exercise is to give you practice with searching and sorting algorithms.
A lottery ticket buyer purchases 10 tickets a week. always playing the same 10 5-digit "lucky" combinations. Write a program that reads the numbers from an input file, initializes an array with these numbers and then lets the player enter this week's winning 5-digit numbers (Use random number generator to generate 5 numbers in the range 1 through 49 for the winning combinationrather than letting the user enter the winning number combination).
The program should perform both, linear and binary search though the list of the player's numbers and report whether or not one of the tickets is a winner this week. You should present the user with the menu to find out if he/she is a winner through linear or binary search.
Here are the numbers:
Your code should be modular (use functions) and pass variables (by value/by reference) where appropriate.