Q.2.3 Q.2.4 Write the pseudocode for the following scenario: A manager at a 2nd hand car dealership wants to keep track
Posted: Sat Jul 09, 2022 11:48 am
Q.2.3 Q.2.4 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 Sales: R400 000 Employee Code: 4 Sales: R650 000 Total Car Sales: R1 050 000 Total Commission Paid: R137 500 Commission: R40 000 Commission: R97 500 Write the pseudocode for the selection structure (if-else) for the following scenario and display relevant messages which indicate the outcome of the selection structure: (35) (5)