Sa 18. Feb 14:07:10 CET 2012

Sum it up with... PostScript

Lizzie's planning to buy wool for new stitching projects and has a list of prices. To sum them up I proposed the following PostScript one-liner:
...
 7.95
13.95
18.95
...
count 1 sub { add } repeat =
A more exhaustive PostScript programme to print a table also exists.

Posted by osti | Categories: Linux