Array Wave print row wise

Why my all test cases fail but compiling gives right answer

@shardul15,
Instead of β€œEnd” print β€œEND”.

@shardul15,

https://ide.codingblocks.com/s/258302 corrected code for the same

thanks @sanchit.bansal06