I'm not sure what you're trying to say. Focus on one thing at a time. First, write a for loop that simply prints out a series of numbers (like 1-10, or 0-9).
Then look at the array tutorial...
Type: Posts; User: KevinWorkman
I'm not sure what you're trying to say. Focus on one thing at a time. First, write a for loop that simply prints out a series of numbers (like 1-10, or 0-9).
Then look at the array tutorial...
What doesn't make sense?
That's a fine start. Maybe try printing out the value of i each time, to give you an idea of what's going on?
Okay. That's not really what I asked, but if you're just looking for a tutorial on for loops (which I found as the first hit after googling "java for loops"), here y'ar: The for Statement (The Java™...
How would you do this by hand, without a computer?
Pretend you're given a stack of index cards that each show a number (that's your array). How would you go about calculating their total? Their...