On line 161 you are doing an else if
but there fore you did’nt specify any if.
I don’t know what your doing in your code. But either remove the else
in the else if
statement or create an if statement before the else if
.
An else if
statement comes after an if
statement or else if
statement and can not be the first one in a comparison.
Solution example
So by adding an if
before else if
will solve the problem. (Notice I don’t now what your program needs to do so you need to check what condition check you have to do.)
3
solved Extra brackets expected? [closed]