Question: Lottery number checker: you will create a C program that takes 5 numbers as arguments and a file with lines of 5 numbers and your
Lottery number checker: you will create a C program that takes numbers as arguments and a file with lines of numbers and your program will check how many of the lines in the file match or more numbers in the numbers provided inside the file. Numbers are between and and there can be at most numbers in the file provided.
lotterychecker n f mynumbers.txt
The file mynumbers.txt has lines with the following format:
ie numbers per line and a random number of lines. Assume the numbers in each line are sorted and so are the numbers provided in the command line.
Use the following output format assume the input is :
matches:
matches:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
