This part of the message says that there is something on line 46 that is not part of a statement.
Is that where there was a missing + in the middle of a String?
There was a long complicated...
Type: Posts; User: Norm
This part of the message says that there is something on line 46 that is not part of a statement.
Is that where there was a missing + in the middle of a String?
There was a long complicated...
Try to get the compiler's error messages and post them here.
I don't recognize that message. Is it from the IDE, not from the javac compiler program?
I don't know why beginners are encouraged to use an IDE before they understand how to write simple...
If you use the compiler, it will generate error messages that can be copied and pasted.
Here is a sample:
TestSorts.java:138: cannot find symbol
symbol : variable var
location: class...
Where is the "void"? The error message did not give a line number.
What error messages does the compiler give? Can you compile the code without trying to execute it? You won't be able to execute...
Please post the full text of the error message.
Look at the API doc for all the choices.
Make sure all the ( have a matching ).
It looks like you might need some + operators to connect all the parts of the String into one String.
You don't need the ()s around the "\n"
Add a newline character: ("\n") where you want a line to end and the following part of the String to be on the next line.
Add some spaces between the numbers: num1 + " " + num2
so you can see...
Please post the current output and show what is wrong with it and show how you want it to be.
Is the , the character for decimal points? In the US we use the .
That one error can cause the others.
Can you show what the code does now, explain what is wrong and show what the output should be?
For a first attempt at displaying the table, just use the println() method. Later you can look into...