Use 2 scroll bars to select the hours worked (an integer) and hourly rate (a double)
All buttons and other objects must be named with appropriate names;
When either scoll bar changes use a general sub to compute pay.
If hours is less than or equal to 40, the pay is simply hours times rate.
If the hours is more than 40 the first 40 hours are paid at the regular hourly rate. Each overtime hour is paid at 1.5 times the hourly rate.
Display the pay in a label formatted to 2 decimal places.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment