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

8 lines
84 B
Awk
Raw Normal View History

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