Search:

Type: Posts; User: EDale

Search: Search took 0.09 seconds.

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

    Here's what I got!



    public static long gcd ( long a , long b ) {
    if (a < b) return gcd ( b , a ) ;
    // a >= b
    if (b == 0) return a ;
    if (a%2 == 0 && b%2 ==0) {
    return...
  2. Re: GCD Algorithm... could you help explain what kind of code I need to write?

    Thanks so much! I'll post my solution when I figure it out!
  3. GCD Algorithm... could you help explain what kind of code I need to write?

    I have this homework question and I'm not 100% sure what it's asking. Could you break it down for me or write the skeleton code so I can get a better grasp of it?

    Write an alternative gcd...
Results 1 to 3 of 3