Greatest common divisor: Difference between revisions

m
(Added Dyalect programming language)
Line 910:
=={{header|EasyLang}}==
 
<lang>func gcd a b . resr .
while b <> 0
hr = b
b = a mod b
a = hr
.
res = a
.
call gcd 120 35 r
2,054

edits