Arithmetic/Integer: Difference between revisions
Content added Content deleted
(→{{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: | Line 3,329: | ||
=={{header|min}}== |
=={{header|min}}== |
||
{{works with|min|0. |
{{works with|min|0.37.0}} |
||
<syntaxhighlight lang="min">( |
<syntaxhighlight lang="min">('+ '- '* 'div 'mod) |
||
(("Enter an integer" ask integer) 2 times) quote-map => |
|||
(" |
("$1 -> $2" rollup concat dup -> quote prepend %) prepend |
||
map "\n" join puts!</syntaxhighlight> |
|||
{{out}} |
{{out}} |
||
<pre> |
<pre> |