Https://ide.codingblocks.com/s/247350

This is the same code as taught in the videos but still there is error. Please correct it.

hello @kodivine0
a) image
here it should be j.

also declare sx and sy in separate line.

b)
image
interchange the position of these statements.

https://ide.codingblocks.com/s/247391 sir, I have corrected my code but still the output is not showing anything.

try this -> https://ide.codingblocks.com/s/247412
this one is same as urs.

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.