+ 3
[Solved]Another unreachable code detected.Can you help me in the debugging of the code😁? Thanks
4 Respostas
+ 3
See the semicolon at end of line 18? get rid of it, and it'll be alright
if (num == 15) // remove semicolon here
+ 2
Remove the ; after if statement.
+ 1
Can't say much but been there done that ¯\_(ツ)_/¯
Maybe you can try find some IDEs armed with AI to cope with possible issues, so you might wanna look for one that is smart enough to predict such issues and capable of proper advice.