my program output is right but codingblocks system is not submitting it. it is giving test cases error.
Please suggest to apply testcases
https://ide.codingblocks.com/s/223370 Corrected code.
Errors:
Don’t print lines such as // System.out.println(“Enter no. of rows”); these.
Strictly follow the pattern given in the sample test case of input and output