Anonymous user
A+B: Difference between revisions
→{{header|Tailspin}}: alternative solution
(Added Order implementation of a program to add signed numbers A and B) |
(→{{header|Tailspin}}: alternative solution) |
||
Line 4,528:
$IN::lines -> nums -> $(1) + $(2) -> '$;
' -> !OUT::write
</lang>
Alternatively
<lang tailspin>
composer nums
(<WS>?) (def a: <INT>;) (<WS>) <INT> -> $a + $ (<WS>?)
end nums
$IN::lines -> nums -> '$;
' -> !OUT::write
</lang>
|