Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Replies
    10
    Views
    1,281

    Re: question about arrays; something simple

    You might want to check out Project Euler.
  2. Replies
    10
    Views
    1,281

    Re: question about arrays; something simple

    What happened when you tested that assumption with a print statement? :)
  3. Replies
    10
    Views
    1,281

    Re: question about arrays; something simple

    No, it's initializing maxC to whatever is in the first element of the array. I suggest you step through your code with a debugger, or at least add some print statements, to make it more obvious...
  4. Replies
    10
    Views
    1,281

    Re: question about arrays; something simple

    Recommended reading: Arrays (The Java™ Tutorials > Learning the Java Language > Language Basics)
Results 1 to 4 of 4