S = pWeight * 0.0714285714; }
this is the line with the error and its the semi colon. Tells me to insert } to complete the block but once i do, the same error is still there.
As for being correct I meant as in how the whole code looks with the methods if I added the {} correct.
When I try to compile it I get:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Syntax error, insert "}" to complete Block