SEND + MORE = MONEY: Difference between revisions

m
mNo edit summary
Line 8:
Since the M in Money is the result of carry in base 10 of two single digits it is a 1 (we exclude 0 here though that would work, but then MONEY would be spelled ONEY).
 
In addition, the S plus 1 then needs to result in a carry, so S is 8 or 9, depending on whether there is a carry into that column. OnwPencil and paper can continue, but from here the computer is likely quicker.
 
<syntaxhighlight lang="julia">let
Line 38:
end
</syntaxhighlight>{{out}} 9567 + 1085 == 10652
 
=={{header|Ring}}==
<syntaxhighlight lang="ring">
4,102

edits