- Q 2 3 Write The Pseudocode For The Following Scenario A Manager At A 2nd Hand Car Dealership Wants To Keep Track Of The 1 (52.3 KiB) Viewed 41 times
Q.2.3 Write the pseudocode for the following scenario: A manager at a 2nd hand car dealership wants to keep track of the
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Q.2.3 Write the pseudocode for the following scenario: A manager at a 2nd hand car dealership wants to keep track of the
Q.2.3 Write the pseudocode for the following scenario: A manager at a 2nd hand car dealership wants to keep track of the amount (in Rands) of commission paid to the salespeople. You must take the following into consideration: There may be more than one salesperson (each salesperson has a unique employee code) - input the employee code. An employee code of zero (0) terminates the program. The salesperson's commission is based on their sales (in Rands) in the past month - input the sales for each salesperson. Calculate the total car sales (in Rands). Calculate a salesperson's commission (in Rands). Commission is based on the following table: Total value of cars sold Less than or equal to R500 000 More than R500 000 Percentage commission earned 10% 15% Calculate the total commission the manager must pay to all of the salespeople. Display a report for the manager in the following format: Employee Code: 2 Employee Code: 4 Sales: R400 000 Sales: R650 000 Total Car Sales: R1 050 000 Total Commission Paid: R137 500 Commission: R40 000 Commission: R97 500 (35)