I have no idea what the assignment statements are doing because the posted code does not show what either variable is used for.
For a description of how for loops work see the tutorial:
The for...
Type: Posts; User: Norm
I have no idea what the assignment statements are doing because the posted code does not show what either variable is used for.
For a description of how for loops work see the tutorial:
The for...
There are two assignment statements and two for loops.
Those are VERY BASIC java statements. What is your problem with them? Can you explain?
Please edit your post and wrap your code with
<YOUR CODE HERE>
to get highlighting and preserve formatting.
What happens when you compile and execute the code?