Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 2 Universal Automobiles is a car dealership company. The company's salespeople are paid a basic salary of RM 2000 plus the commission earned for
Question 2 Universal Automobiles is a car dealership company. The company's salespeople are paid a basic salary of RM 2000 plus the commission earned for each car sold. The following is the commission rate set by the company: Type of Car Price (RM) Commission (%) Myvi 42,000 3% Honda City 80,000 5% BMW 300,000 8% Create a program that ask the salesperson to input their name and the number of each type of cars sold. The program will calculate the commission and display the salesperson's earnings for that month. Based on their earnings the salesperson will be classified as either Under Performer, Target Met and Superstar Category Earnings (RM) 10,000 Under Performer Target Met Superstar Use selection statements such as nested if.else and switch for this program. (10 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started