First, the user enters two positive integers, each is for rows and columns of a two-dimensional array.
Next, enter the array elements row by row.
Then it'll print the elements that are greater than all of its neighbors.
(Each element can have at most 4 neighbors.)