Damm algorithm: Difference between revisions
→{{header|jq}}: 112949
(→{{header|jq}}: 112949) |
|||
Line 1,216:
# The task:
5724, 5727, 112946, 112949
| checkdigit as $d
| [., $d]
Line 1,225:
[5727,false]
[112946,true]
[112949,false]
</lang>
=={{header|Julia}}==
<lang julia>function checkdigit(n)
|