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</lang>do
print $ egy 580 34
print $ egy 580 34 == quotRem 580 34</lang>
{{Out}}
<pre>(17,2)</pre>
True</pre>
 
=={{header|JavaScript}}==
9,655

edits