Anonymous user
Greatest common divisor: Difference between revisions
no edit summary
No edit summary |
|||
Line 455:
===Recursive===
<
if (y == 0)
return x;
return gcd(y, x%y);
}</lang>
=={{header|Dc}}==
|
No edit summary |
|||
Line 455:
===Recursive===
<
if (y == 0)
return x;
return gcd(y, x%y);
}</lang>
=={{header|Dc}}==
|