Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SECTION B: (50 marks) Ouestion 1 Question 1 Shamira Company sells five types of vehicles for May 2022. Each vehicle is given a discount as

image text in transcribedimage text in transcribed

SECTION B: (50 marks) Ouestion 1 Question 1 Shamira Company sells five types of vehicles for May 2022. Each vehicle is given a discount as shown in Table 3. For each vehicle sold, the salesperson is given a commission of RM1000. The company has 4 salespersons and the calculation of each salesperson's salary is based on this formula: Salary=RM1500+commission At the end of the May, the company must make a report consisting of the total sales for each type of vehicle, the price of each type of vehicle after discount along with the discount given, the salary of each salesperson, gross profit and net profit earned by the company. The monthly management cost of the company is RM30000.00. This cost does not include the salesperson's salary. Example of input files and output are as shown in Figure 1. Write a complete C++ program to solve this problem. (Syarikat Shamira menjual lima jenis kenderaan untuk bulan Mei 2022. Setiap kenderaan diberi diskaun seperti yang ditunjukkan dalam Table 3. Bagi setiap kenderaan yang dijual, jurujual diberi komisen RM1000. Syarikat ini mempumyai 4 orang jurujual dan penggiraan gaji setiap jurujual adalah berdasarkan formula imi : Gaji=RM1500+komisen Pada akhir bulan Mei, syarikat perlu menghasilkan laporan yang terdiri daripada jumlah jualan bagi setiap jenis kenderaan, harga setiap jenis kenderaan setelah diskaun beserta diskaun yang diberikan, gaji setiap jurujual, keuntungan kasar dan keuntungan bersih yang diperolehi oleh syarikat. Kos pengurusan bulanan syarikat adalah sebanyak RM30000.00. Kos Ini tidak termasuk gaji jurujual. Contoh fail input dan output adalah seperti yang ditunjukkan dalam Figure 1. Tulis atur cara C++ yang lengkap bagi menyelesaikan masalah ini.) Table 3: Vehicles Price SECTION B: (50 marks) Ouestion 1 Question 1 Shamira Company sells five types of vehicles for May 2022. Each vehicle is given a discount as shown in Table 3. For each vehicle sold, the salesperson is given a commission of RM1000. The company has 4 salespersons and the calculation of each salesperson's salary is based on this formula: Salary=RM1500+commission At the end of the May, the company must make a report consisting of the total sales for each type of vehicle, the price of each type of vehicle after discount along with the discount given, the salary of each salesperson, gross profit and net profit earned by the company. The monthly management cost of the company is RM30000.00. This cost does not include the salesperson's salary. Example of input files and output are as shown in Figure 1. Write a complete C++ program to solve this problem. (Syarikat Shamira menjual lima jenis kenderaan untuk bulan Mei 2022. Setiap kenderaan diberi diskaun seperti yang ditunjukkan dalam Table 3. Bagi setiap kenderaan yang dijual, jurujual diberi komisen RM1000. Syarikat ini mempumyai 4 orang jurujual dan penggiraan gaji setiap jurujual adalah berdasarkan formula imi : Gaji=RM1500+komisen Pada akhir bulan Mei, syarikat perlu menghasilkan laporan yang terdiri daripada jumlah jualan bagi setiap jenis kenderaan, harga setiap jenis kenderaan setelah diskaun beserta diskaun yang diberikan, gaji setiap jurujual, keuntungan kasar dan keuntungan bersih yang diperolehi oleh syarikat. Kos pengurusan bulanan syarikat adalah sebanyak RM30000.00. Kos Ini tidak termasuk gaji jurujual. Contoh fail input dan output adalah seperti yang ditunjukkan dalam Figure 1. Tulis atur cara C++ yang lengkap bagi menyelesaikan masalah ini.) Table 3: Vehicles Price

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

Financial Management For Public Health And Not For Profit Organizations

Authors: Steven A. Finkler

4th International Edition

0132912813, 9780132912815

More Books

Students also viewed these Finance questions

Question

Discuss the importance of linking pay to ethical behavior.

Answered: 1 week ago

Question

Explain how to reward individual and team performance.

Answered: 1 week ago