qse/ase/cmd/awk/ite-002.awk
2008-03-21 03:49:53 +00:00

5 lines
70 B
Awk

{
for (i = 1; i <= $3; i=i+1)
printf ("\t%.2f\n", $1*(1+$2)**i);
}