Arithmetic/Integer: Difference between revisions

→‎min: update
(→‎{{header|Kotlin}}: Removed error handling (as specified by the task) and made the code use the Kotlin standard library instead of the Java standard library.)
(→‎min: update)
Line 3,329:
 
=={{header|min}}==
{{works with|min|0.1937.30}}
<syntaxhighlight lang="min">(concat dup'+ '-> '* prepend'div "$1 -> $2" swap % puts!'mod) :show
(("Enter an integer" ask integer) 2 times) quote-map =>
 
("Enter$1 an-> integer$2" askrollup int)concat 2dup times-> 'quote prepend %) prepend
('+ '- '* 'div 'mod) quote-map ('show"\n" concat) mapjoin cleaveputs!</syntaxhighlight>
{{out}}
<pre>
559

edits