Nquuns program is not getting correct output

pls check the below code

hi @kishoretaru
you have done two mistakes

  1. at line-57 board[i][j] == 1;
    it should be single equal to
  2. at line 22 you have to reinitalise x and y see in the code

Modified Code

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course

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.