Question 3 (10 marks) ANZF Sdn Bhd wants to develop a small system to calculate for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 < 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 <
Expert Answer:
Answer rating: 100% (QA)
script function myFunction var c var pname promptPlease enter product name va... View the full answer
Related Book For
Operations and Supply Chain Management
ISBN: 978-1119444404
9th edition
Authors: Roberta S. Russell, Bernard W. Taylor
Posted Date:
Students also viewed these programming questions
-
This case study on project evaluation is applicable for beginning courses in corporate finance or finance strategy. Two alternative investment options are available to evaluate. Challenges are...
-
Read and answer the question below. EMBRACE DEMOGRAPHICS AND SOCIETAL CHANGES Using Differences to Drive Value Force 7: Demographics and Societal Changes. One of the most important forces that is...
-
Conduct online research for federal income tax brackets for the current year. Which tax bracket do you fit into for your gross household income? How close is your gross household income to the next...
-
Spy planes fly at extremely high altitudes (25 km) to avoid interception. If their cameras are to discern features as small as 5 cm, what is the minimum aperture of the camera lens to afford this...
-
For the following exercises, write the equation of the parabola in standard form. Then give the vertex, focus, and directrix. y 2 6y 6x 3 = 0
-
ZeeZee's Construction Company has the opportunity to select one of four projects (A, B, C, or D) or choose the null (do-nothing) alternative. Each project requires a single initial investment and has...
-
Angel Ruiz owns a business called Ruiz Construction Co. He does his banking at Citizens National Bank in Portland, Oregon. The amounts in his general ledger for payroll taxes and the employees...
-
Fine Equipment uses a perpetual inventory system and is located in Vancouver, British Columbia, where the PST rate is 7 % . Fine Equipment uses the earnings approach for revenue recognition. The...
-
Develop a java program using multithreading in which each thread reads the data from a text file and display the data of each file on Console alternatively such that one line from first input file is...
-
Angelo's Gold Factory Inc. v. Anthony Pipolo Incorporated, 2007 CanLII 80119 (ON SC) The plaintiff had been unsuccessful in its attempts to serve the defendants by personal service. The plaintiff's...
-
A 2.0 kg block slides along a frictionless table at 15 m/s. It collides and bounces off a second block of mass 3.0 kg attached to a spring of spring constant 400 N/m. What is the maximum compression...
-
Pierre is a fisherman. The Canadian government passes a new law that states "Fish can only be caught on Monday, Tuesday, Wednesday, Thursday, or Friday, and only between the hours of 7 AM and 10 PM....
-
10) A closed flat loop conductor with radius 2.0 m is located in a changing uniform magnetic field. If the emf induced in the loop is 4.0 V, what is the rate at which the magnetic field strength is...
-
To drive a typical car at 56 mph on a level road for one hour requires about 3.7 10^7 J of energy. Suppose we tried to store this much energy in a spinning, solid, uniform, cylindrical flywheel. A...
-
Make assumptions and calculations to reduce the cycle time and changeover time of these operations, in the table you can see the 12 operations, just make calculations to improve the CT of operations...
-
Refer to the data for problem 13-36 regarding Long Beach Pharmaceutical Company. Required: Compute each division's residual income for the year under each of the following assumptions about the...
-
Find a virtual plant tour on the Internet and describe the production system according to the criteria in Table 7.1. PRODUCT LAYOUT PROCESS LAYOUT 1. Description Sequential arrangement of activities...
-
Describe how a business you are familiar with uses IT enablers in its supply chain management.
-
Gather mission or vision statements from four different companies. What do they tell you about the organizations? Is their mission or vision reflected in the way they do business?
-
Explain how an ABS is structured.
-
Explain how an ABS CDO is structured.
-
Why do you think we would want to draw these two extra lines onto the handwritten account?
Study smarter with the SolutionInn App