Search:

Type: Posts; User: ChristopherLowe

Search: Search took 0.29 seconds.

  1. Re: Recursion, arrays and greatest common divisor

    Why's that? Is it the requirements for an assignment or something? I cannot just give you the answer here because it violates this forums rules on spoon feeding answers. The only hint I can give you...
  2. Re: Recursion, arrays and greatest common divisor

    What you need is a for loop. They look like this:


    for (int i = 0; i < myArray.length; i++) {
    doSomething(myArray[i]);
    }


    Use a for loop to iterate through all the values of the array....
Results 1 to 2 of 2