Ethiopian multiplication: Difference between revisions

m
(Add Plain English)
Line 1,684:
return ab
}</lang>
 
=={{header|EasyLang}}==
<lang>x = 17
y = 34
tot = 0
while x >= 1
write x
write char_chr 9
if (x + 1) mod 2 = 0
tot += y
print y
else
print ""
.
x = x div 2
y = 2 * y
.
write "="
write char_chr 9
print tot</lang>
 
=={{header|Eiffel}}==
2,023

edits