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

Question 3 (10 marks) ANZF Sdn Bhd wants to develop a smallsystem to calculate for their product distributor income. Income for the distributorsis total of commission and bonus received. The distributors get a commission

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. They get commission based on the following table: Facial Price (per unit) 150.00 Hair Commission for each set (%) 10 200.00 5 Figure 1.0 They get bonus based on the following table: Sales (RM) 0-500 501-1000 Bonus (RM) 100.00 300.00 >1000 500.00 Figure 2.0 tml Total Income = Total Commission + Bonus Received xQjscript.html C:/csc264/Qjscript.html This page says Enter Product Name: Facial "Qjscript.html OK Cancel Figure 3.0 x Qjscript.html Qjscript.html x Qjscript.html File C:/csc264/Qjscript.html This page says Please Enter The Unit sold 2500 OK Cancel Qjscript.html Qjscript.html x Qjscript.html x Qjscript.html C:/csc264/Qjscript.html This page says Your Sales is :2500 Your Commission is: 250 Your Bonus is:500 Your Total Income is: 750 Figure 5.0 + C:/csc264/Qjscript.html This page says Please Enter The Unit sold Twenty Thousand Figure 6.0 x Qjscript.html | C:/csc264/Qjscript.html This page says Please Enter Number !! x OK OK Cancel Figure 7.0 " OK

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

script function myFunction var c var pname promptPlease enter product name va... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!