I wrote and ran it and it said there were errors and syntax problems. Is it different from the usage in Java and C language?
if(){}elseif(){}else{}, see if there is anything wrong.
if(){}elseif(){}else{}, see if there is anything wrong.