Problem in Ques: Wave Print Column Wise

The code is running on Codeblocks but showing error in CodingBlocks IDE.
Please help to remove the error.

Hey @sahilkhan2312000131
Its working fine on my side ,please share the screenshots

Code is working fine on IDE but showing error while compiling in the area given for answer.

Hey @sahilkhan2312000131
Working fine for me there as well .
There might be some technical issue ,ignore this.

Is the code right? Or it has some bugs??

Yup its absolutely correct

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.