[Solved] Why do I have the error “Syntax error on token “else”, delete this token” [closed]


In this line:

    if(guess1 < nmbr); {

the ; ends the if block early, causing the following else to not match any if, leading to a syntax error. Delete the ;.

solved Why do I have the error “Syntax error on token “else”, delete this token” [closed]