Question: 1) Write the MATLAB statements to do the following: Read a data file (prog1.dat), where each line contains an employee' s ID, base salary, and

1) Write the MATLAB statements to do the following: Read a data file (prog1.dat), where each line contains an employee' s ID, base salary, and sales. For each employee, do the following: a) Calculate the commission as follows: 87 A Commission 20% of sales 3,000 + 25% of sales in excess of 15,000 11,750 + 30% of sales in excess of 35,000 sales = 15,000 15,000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
