Error in output

sir please see the code and tell the error in code for wave print of 2d array https://ide.codingblocks.com/s/121327

Include Scanner first. import java.util.Scanner
Also, check loop of j when printing in reverse order. The value of j should start with arr[i].length - 1 so that it doesn’t give any error