Answer by Jens for Syntax error on token "(", ; expected
You miss a } after return fixTeen(a)+fixTeen(b)+fixTeen(c); and there is no need for last }public int noTeenSum(int a, int b, int c) { return fixTeen(a)+fixTeen(b)+fixTeen(c);}public int fixTeen(int x)...
View ArticleSyntax error on token "(", ; expected
So I'm working in CodingBat, learning Java, but it keeps throwing me this error for the code below.public int noTeenSum(int a, int b, int c) { return fixTeen(a)+fixTeen(b)+fixTeen(c); public int...
View Article
More Pages to Explore .....