Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

gcd

static int gcd(int a, int b)
    {
      if (b == 0)
        return a;
      return gcd(b, a % b); 
    }
     
Source by en.wikipedia.org #
 
PREVIOUS NEXT
Tagged: #gcd
ADD COMMENT
Topic
Name
8+4 =