1 Like
Check the output format. You are missing a ‘.’ after the number. Change your printf() statement to…
printf("The minimum number of moves is %d.\n\n",mov);
1 Like
Thank you…I did not notice the “.” character
So, you can upvote and/or accept the answer
1 Like