Jump to content

Display a linear combination: Difference between revisions

(Added Algol 68)
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 #
3,044

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.