Anonymous user
Greatest common divisor: Difference between revisions
Adding LiveCode. If it doesn't work by inserting it at the top of the next section, I'll revert and edit the whole page
(clean up, shorten CoffeeScript) |
(Adding LiveCode. If it doesn't work by inserting it at the top of the next section, I'll revert and edit the whole page) |
||
Line 1,175:
end function
</lang>
=={{header|LiveCode}}==
<lang LiveCode>function gcd x,y
repeat until y = 0
put x mod y into z
put y into x
put z into y
end repeat
return x
end gcd</lang>
=={{header|Logo}}==
|