(tcos c-f) list the names of subroutines of the hierarchy chart, and then write complete pseudocode for the following problem. you will not have to create a data dictionary for this exercise. problem: 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 salesperson's name, job code, and commission earned. - the input will consist of the file with records containing salesperson's name, job code, and 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.

Solved
Show answers

Ask an AI advisor a question