Egyptian division: Difference between revisions
→{{header|Haskell}}: Added a test component to the output
(→{{header|Haskell}}: Added a test component to the output) |
|||
Line 637:
main :: IO ()
main =
print $ egy 580 34
print $ egy 580 34 == quotRem 580 34</lang>
{{Out}}
<pre>(17,2)
True</pre>
=={{header|JavaScript}}==
|