Did you use the -Xlint option with the javac command? It should show you a problem when you use it.
I always use it and I get a message from the compiler with your code. You need to change how...
Type: Posts; User: Norm
Did you use the -Xlint option with the javac command? It should show you a problem when you use it.
I always use it and I get a message from the compiler with your code. You need to change how...
Did you try it? It will give a message telling you want is wrong with your code.
Where and how does the program terminate? System.exit() or by returning?
Add some println statements to print out what is entered and saved in variables
and also to show program execution flow.
...