Multi dimensional array file input output.
Write a program that reads numbers from a file, enters them into an array and then writes the results to a file.
It should use a random number generator to write 10 random numbers between 1 and 50 without any repeats, per line.
It should write 10 lines of these numbers to a file, NumFile.txt.
It needs to have a two dimensional array of type integer 50 long and 2 wide.
Create a 2 * 50 array of values (table) where the first and second rows are integer values. Initialize the first row as the values 1, 2, 3, .. , 39, 40 . 49, 50
Initialize the second row as all zeros (0).
Read an input file that has 10 integer values ranging from 1 to 50 without any repeats in a single row.
For each number in each row, increment the correlating space in row two by one for each occurrence of that number.
Output to the screen, how many of each number were found in the entire file.