Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,901

    Re: I need calculation

    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...
  2. Replies
    7
    Views
    1,901

    Re: I need calculation

    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?
  3. Replies
    7
    Views
    1,901

    Re: I need calculation

    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™...
  4. Replies
    7
    Views
    1,901

    Re: I need calculation

    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...
Results 1 to 4 of 4