Use code tags when you post code and copy-pasted console output (errors):
BB Code List - Java Programming Forums - The Java Community
Your if expression syntax is wrong.
Equality, Relational,...
Type: Posts; User: Sean4u
Use code tags when you post code and copy-pasted console output (errors):
BB Code List - Java Programming Forums - The Java Community
Your if expression syntax is wrong.
Equality, Relational,...
}else if (testscore >=40); {
// this semicolon ----^
// should be removed
If you've changed your code and still got errors, post both the new code and the new errors. remove the semicolons...
Semicolon after the if
Next time use code tags:
BB Code List - Java Programming Forums - The Java Community