Zebra0.com

CMSC222: Project 3, Payroll

CMSC222: Project 3, Payroll

Section 30118: Due Sunday, March 9, 2025

Create a C# program that computes pay

Please see tutorial on selecting decimal values on scroll bars.

  1. 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)
  2. All buttons and other objects must be named with appropriate names;
  3. When either scrollbar changes use a void function to compute pay.
  4. If hours is less than or equal to 40, the pay is simply hours times rate.
  5. 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.
  6. Display the pay in a label formatted to 2 decimal places.
  7. 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.

Item
correctly zipped">

If the requirements are met, the grade is as follows:

ItemPoints
3
3
3
3
3
3
3
3
4
4
4
3
4
7
Possible points=50

C

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 Index

This 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.