[Solved] why am I getting this erroneous output?
If i understand the problem correctly it should take first int then scan the n lines and creating sort of 2 dimension list/array or so then should accept int of questions about what is in position (x,y) in this 2 dimensional object covering what is out of bounds as an “ERROR!”. import java.util.ArrayList; import java.util.Scanner; … Read more