Check ALL the {
make sure that there is a } that pairs with it.
Type: Posts; User: Norm
Check ALL the {
make sure that there is a } that pairs with it.
"reached end of file while parsing."
Check for matching pairs of {}s
Make sure they are all paired.
Enter what?
What is the "it" that becomes?
I don't understand what you are trying to explain. Can you say what you do and what the computer does, step by step?
if(packageLetter...
ALWAYS put a { after the ending ) on a if statement:
if (some conditions here) {
then put the end } after the last statement(s) do be done when the if condition is true. Put it on its own line.
...
Did you check and correct the problems with the { & }s?
Can you explain which messages pop up?
You need to follow the logic of your program and see why each message is shown. What controls why each message is shown?
Your usage of { & } after an if...
Is the program making a mistake then?
There are 5 lines of code in the area in question. Take a piece of paper and a pencil and play computer executing each statement in your mind and writing...
Does that mean that the program is working?
What do you mean by mistake? What do you call this:
Are you talking about when you format a double value to be printed?
One way to truncate a double to 2 places is multiply it by 100, cast it to an int and then divide it by 100 to get back the...
Do you have any specific java programming questions?
Try debugging your code by printing out the values of all the variables used as your code computes