Regarding column wise wave print

Why this code is not passing test cases ?? even, I’m unable to unlock test cases
link to code: https://ide.codingblocks.com/s/202450

You have to print the even number row in reverse order and the odd number row in the given order starting from column 1.
But you have printed it columnwise.

the problem was not with the code. “endl” was missing after printing “END”. kindly mention this in question.

Oh Okay. @gunjan13082000 Please mark your doubt as resolved if you are satisfied.