I need help with writing a java program that finds the greatest product of four
ID: 3542490 • Letter: I
Question
I need help with writing a java program that finds the greatest product of four consecutive numbers in any direction (up, down, left, right, or diagonal) in the 20x20 matrix or grid of numbers.
The 20x20 matrix of numbers can range from 00-99 and have to be inputed from a input.txt file.
1.Your program should contain at least one two dimensional array
2. Your program should not use any global variables
3. Your program should contain at least three TWO static methods. One for accepting the data from keyboard, one for printing the final results to console and one other function that is used during your calculations
The final results should consist of the (i,j) index of each of the four numbers. The next line should print the numbers and the final product of the four.