I was wondering if anyone could point me in the right direction here!!
I have a program that reads in lottery results from the past 6 months (from the national lottery site) from a text file
and stores it in an array (n-1,6) where n is the number of lottery lines, so the array looks like
0 1 2 3 4 5 6
0 29 18 38 44 14 43 13
1 32 38 11 15 42 6 24
then, in a 1D array I store the player's numbers, simply as
I want it to take each number from the player's number array individually and compare them to each row individually in the lotto results array i.e. the first six cells in each row in the results array will be compared with each user number to find any matches, if a value matches then a count is incremented. if the count is greater than 2
but i'm getting no where with it :( i've been trying to use the For To loops but keep getting index out of range, or else nothing is happening at all!!
i don't want or expect anyone to do any of the coding for me - just a few pointers on how to go about it would be great!