This commit is contained in:
8
ase/cmd/awk/emp-017.out
Normal file
8
ase/cmd/awk/emp-017.out
Normal file
@@ -0,0 +1,8 @@
|
||||
($3 > 15) {
|
||||
emp = (emp + 1);
|
||||
}
|
||||
|
||||
END {
|
||||
print emp,"employees worked more than 15 hours";
|
||||
}
|
||||
3 employees worked more than 15 hours
|
||||
Reference in New Issue
Block a user