1 2 3 4 5 6 7
#! /usr/bin/bc -lq print "for (i = 100; i < 1000; ++i) {\n" print " v = pi(i)\n" print " v = e(v)\n" print " v = l(v)\n" print "}\n"