Display a linear combination: Difference between revisions
→{{header|ALGOL 68}}: bugfix
(Added Algol 68) |
(→{{header|ALGOL 68}}: bugfix) |
||
Line 147:
# second or subsequent term - separate from the previous #
# and always add the operator #
result +:= " " + IF c < 0 THEN "-" ELSE "+" FI + " "
FI;
# add the coefficient, unless it is one #
|