Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

A salesman earns commission on the sales made. The commission is based on the salesman's job code and sales amount.

A salesman earns commission on the sales made. The commission is based on the salesman's job code and sales amount. A salesman with a job code " P" for permanent employee, and sales above 3000 earns 4% commission on the sales made. Salesman with a job code " T" for temporary employee, and sales above 3000 earns 5% commission on the sales made. Produce the pseudocode logic for an algorithm that will compute the commission earned by each salesman. The information is given as follows:* The output will consist of a screen display showing the Sales person's Name, job code, and commission earned.* The input will consist of the file with records containing Sales person name, job code, Sales made.* The processing will compute the commission earned by each Salesman to display the required output. If the Salesman's job code is other than "P", or "T", there should be no commission.Note: Your solution should contain a mainline, and at least three subroutines._____________________________________________________________10 Evaluate the expressions below, based on the hierarchy of operations for efficient processing:i) (2+8)*( ( (3^2)/3 ) -1*2)+ 5MOD3ii) Given A has a value of 8, B has a value 2, and C has a value of 5, evaluate :(A =7 XOR B =2) AND C < 9________________________________________________________3 Create a pseudocode using if instruction containing a compound condition that will satisfy the following: When SALESPERSON_CODE is equal to PERM and SALE is greater than 4000, display "This Sales person is eligible for a 5 percent commission on the sales." Otherwise, When SALESPERSON_CODE is equal to PERM and SALE is greater than 2500, display "This Sales person is eligible for a 2 percent commission on the sales." In all other cases display, "This person is not eligible for a commission on the sales."Note: The above text is not in a pseudocode format. You need to use the IF ELSE ENDIF clause in a pseudocode format with appropriate relational and logical operators. ""

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question