Can you explain your problems?
Does the code compile without errors? If not post the full text of the errors.
Does the code execute without errors?
Does the code produce the wrong results? ...
Type: Posts; User: Norm
Can you explain your problems?
Does the code compile without errors? If not post the full text of the errors.
Does the code execute without errors?
Does the code produce the wrong results? ...
Then you should start at the beginning by studying the tutorial and come back to this assignment when you understand a little more.
Some links:
The Really Big Index
Trail: Learning the Java...
Did you see my questions about what the code is supposed to do? I'll repeat them in case you missed them:
What variables does the method have to get values from?
What decisions can it make after...
What does the code need to do?
What variables does it have to get values from?
What decisions can it make after looking at the values of those variables?
What questions do you have about the code?
Please edit your post and wrap your code with
<YOUR CODE HERE>
to get highlighting and preserve formatting.