You must use the correct syntax when writing code. The compiler says that there are problems with the syntax in the posted code.
Look at the API doc for the String class to see what its methods...
Type: Posts; User: Norm
You must use the correct syntax when writing code. The compiler says that there are problems with the syntax in the posted code.
Look at the API doc for the String class to see what its methods...
Please post the code that goes with the error messages.
The String class does NOT have a method named: total or person. The compiler is objecting to the code trying to call those non-existent...
Please copy and paste here the full text of the error messages.
The code looks like it is missing some }s at the end.
Now the code needs to be properly formatted. Statements should be indented 3-4 spaces to show nesting levels within {}s
All statements should NOT start in the first column.
The }s should NOT be in...
Threads merged. One is enough.
Please edit your post and wrap your code with code tags:
<YOUR CODE HERE>
to get highlighting and preserve formatting.