Question: Create an awk script called calculeExpense.awk ( Use the appropriate shebang) that will accpret a comma separated file where the columns are: first column: users

Create an awk script called calculeExpense.awk (Use the appropriate shebang) that will accpret a comma separated file where the columns are:

first column: users name second column: hourly rate third column: hours worked

Calculate the total money spent in salaries. (sum all of column 2 * column 3). Here's an example:

Grace Hopper,20,32 Larry Wall,45,25 James Clark,15,40

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!