qse/ase/test/awk/ite-002.awk

5 lines
70 B
Awk
Raw Normal View History

2006-11-17 07:45:05 +00:00
{
for (i = 1; i <= $3; i=i+1)
printf ("\t%.2f\n", $1*(1+$2)**i);
}