im coding a guessing game but got an error [Answered]
does anyone know how to fix this error
3 Replies
on line 20 you are using a semicolon which basically ends that scope, then you are starting a new scope which is unrelated to the if statement scope on line 20
remove the semicolon
I believe the warning already tells you you probably don't want a semicolon there
✅ This post has been marked as answered!