This commit is contained in:
2008-03-21 03:49:53 +00:00
parent f9c7b599d4
commit b52f039c69
358 changed files with 6823 additions and 6288 deletions

12
ase/cmd/awk/emp-019.out Normal file
View File

@@ -0,0 +1,12 @@
{
pay = (pay + ($2 * $3));
}
END {
print NR,"employees";
print "total pay is",pay;
print "average pay is",(pay / NR);
}
6 employees
total pay is 337.5
average pay is 56.25