Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

=+3. Who is responsible for this project?

Answered: 1 week ago

Question

How many multiples of 4 are there between 10 and 250?

Answered: 1 week ago