Search:

Type: Posts; User: GregBrannon

Search: Search took 0.10 seconds.

  1. Re: GCD Algorithm... could you help explain what kind of code I need to write?

    Have you tested it?

    Is a return required if none are met? Yes, even if it's never used. At the end I added

    return 1L;

    but it could have been 0 or most any number, because it'll never...
  2. Re: GCD Algorithm... could you help explain what kind of code I need to write?

    It's a cookbook approach to finding the GCD of A and B that uses recursion. Below the line,

    // complete the code here . . .

    the assignment asks you to code the logic for a, b, c, and d that...
Results 1 to 2 of 2