Question: Question 3 (10 marks) ANZF Sdn Bhd wants to develop a small system to calculate for their product distributor income. Income for the distributors is

Question 3 (10 marks) ANZF Sdn Bhd wants to develop a small system to calculate for their product distributor income. Income for the distributors is total of commission and bonus received. The distributors get a commission for every unit that they sell to their customer as shown in Figure 1.0. They also get bonus based on their sales as shown in Figure 2.0. You are required to develop this system using Javascript scripting to calculate the total income of the distributor. User needs to enter the product name as shown in Figure 3.0 then the unit sold as shown in Figure 4.0. your system will display the details as shown in Figure 5.0 Your system has to validate the data entered by user as shown in Figure 6.0 and 7.0. Commission for each set (%) 10 They get commission based on the following table: Type Price (per unit) Facial 150.00 200.00 Figure 1.0 They get bonus based on the following table: Sales (RM) Hair 5 Bonus (RM) 0-500 100.00 501 - 1000 300.00 >1000 500.00 Figure 2.0 Total Income = Total Commission + Bonus Received Cdcc264/criptomi This page ways Enter Producttum OK Cancel Figure 3.0 * D G xD le C/sc264/script.tml This page says Please The Untold 2300 Can Figure 4.0 K | * D * DC C/ec264/Qcript This page says Your Sale 2500 Your Commission is 250 bar Bonusis 500 Your Total income is 750 Figure 5.0 Cesc264?scripti This page way Please enter the United Torty Thousand Figure 6.0 ! Quero C/ca.264/Querithm This page way Please Enter Number Figure 7.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
