An automobile dealership uses CODE = 1 for new automobiles, CODE = 2 for used automobiles, and CODE = 3 for separate accessories. A salesman’s commissions are as follows: on new automobile, 3% of the selling price but a maximum of $300; on used automobile, 5% of the selling price but with a minimum of $75; on accessories, 6% of selling price.
1. Draw a flowchart that inputs CODE and PRICE and outputs COMMISSION.
2. Write a pseudocode programme that inputs CODE and PRICE and outputs COMMISSION
The expert did excellent work as usual and was extremely helpful for me.
"Assignmentexpert.com" has experienced experts and professional in the market. Thanks.
Comments