Anonymous user
Greatest common divisor: Difference between revisions
→{{header|ALGOL 68}}
(→{{header|Go}}: added example code, output) |
|||
Line 79:
The gcd of +49865 and +69811 is +9973
</pre>
=={{header|Alore}}==
<lang Alore>def gcd(a as Int, b as Int) as Int
while b != 0
a,b = b, a mod b
end
return Abs(a)
end</lang>
== {{header|APL}} ==
|