1 2 3 4 5 6 7 8 9 10 11 12
#! /usr/bin/bc -q i = 0 for (i = 1; i <= 100; ++i) { print "scale = ", i, "\n" print "a(.267)\n" print "a(1)\n" } "halt" halt