Input/Output for pairs of numbers: Difference between revisions
fixed implementation + added output
Drkameleon (talk | contribs) (added Arturo) |
Drkameleon (talk | contribs) (fixed implementation + added output) |
||
Line 200:
=={{header|Arturo}}==
<syntaxhighlight lang="arturo">
print [num\0 "+" num\1 "=" num\0 + num\1]
lineCount: to :integer strip input ""
do.times:lineCount [
]</syntaxhighlight>
{{out}}
<pre>3
2 10
2 + 10 = 12
4 5
4 + 5 = 9
-123 45
-123 + 45 = -78</pre>
=={{header|AWK}}==
|