Question
Piecework workers are paid by the piece. Workers who produce a greater quantity of output are often paid at a higher rate. Presentation Tier The
Piecework workers are paid by the piece. Workers who produce a greater quantity of output are often paid at a higher rate.
Presentation Tier
The program should input the name and number of pieces and calculate the pay. Include a Calculate button and a Clear button. You can include either a Summary button or menu item. The Summary option displays the total number of pieces, the total pay, and the average pay per person on a Summary form.
The name and number of pieces are required fields.
Business Services Tier
The number of pieces must be a positive number; throw an exception for negative numbers. Calculate the pay using this schedule:
Accumulate and return the summary totals for number of pieces, pay, and average pay per person. Notice that you also must accumulate the number of persons to calculate the average.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started