The print statement should not change the value of a variable.
Can you explain exactly what you see when you execute the code with the print statement
and when you execute the code without the print statement.
Where do you show the value that is returned by the getLowestInRow() method?
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
Your program will not print anything unless you use a print or println statement.
If you take the println statements out of your program it will not print anything.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656