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.
1
Expert's answer
2017-05-17T06:58:45-0400
Dear John, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment