CMSC222: Project 3, Payroll
Section 20953: Due Sunday, October 13, 2024
Create a C# program that computes pay
Please see tutorial on selecting decimal values on scroll bars.
- Use 2 scrollbars to select the hours worked (an integer from 0 to 70) and hourly rate (a double from 7.00 to 60.00)
- All buttons and other objects must be named with appropriate names;
- When either scrollbar changes use a void function 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.
- It is your responsibility to thoroughly test your program.
Compare your output to this
When you finish, save and close.
Zip the whole project folder to create Lastname_Firstname_payroll.zip.
The following are requirements:
If any of these requirements are not met, the score will be 0.
If the requirements are met, the grade is as follows:
Possible points=50
Please see https://www.zebra0.com/MC/CMSC222/resource/CMSC222zip.php for instructions on zipping the entire folder.
If you do not receive a perfect score you may resubmit it as long as it is resubmitted within 3 days.
Assignment IndexThis web site, and all pages therein, are the sole property and responsibility of Zebra0.com.
It is not endorsed, sponsored, or provided by or on behalf of Montgomery College.