pls check my code
Code not compiling
Hello @Amishi please check there is no code in the link which you have shared please reshare it by saving it on ide.codingblocks.com .
but the logic you have used is not correct.
I have just corrected the error which it was giving.
this is the correct code.
:
what is the variable m for ? How did you decide the condition for loop (j)? Why did you use variable j in 2 for loops? and why did you do k=k-2?
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.