Hi, it's me again. :)

I'm almost finished with my school project, the only thing I need is
to find and count such numbers in an array (it's a matrix) that don't
have bigger or the same number in their surroundings, such as this:

1 2 3
7 8 5
4 2 1

Is there any efficient and easy way to do it instead of having too
many 'if's? The matrix is read from a file that is specified by user
in the command line.



Reply via email to