Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

 

Home ] Up ]


 

Lynnwood Consultants Payroll Program

 

1. Design a payroll program for Lynnwood Consultants.  Create a blank solution and name it Lynnwood Consultants Payroll Solution.
2. Create a new project and name it Lynnwood Consultants Payroll Project.
.
3. The company pays its employees in the following manner:
.
3.1 Pay Code 1 - Managers
3.2 Pay Code 2 - Hourly Workers
3.3 Pay Code 3 - Commission Workers
3.4 Pay Code 4 - Piece Workers
.
4. Managers receive a fixed salary, that is entered manually by the user.
5. Hourly workers receive an hourly wage up to 40 hours per week that they work.
6. Hourly workers receive time-and-a-half wages for hours worked in excess of  40 hours.  (1.5 times their hourly wage)
7. Commission workers receive $300 per week, plus 5% of their gross weekly sales over $500.
8. Piece workers receive $15.00 for each set of 30 pamphlets that they distribute.
.
9. Your program should do the following:
.
9.1 Accept pay information from user
9.2 Display the number of employees paid for each employee type
9.3 Display the weekly pay for each employee type
9.4 Display the average pay for each employee type
9.5 Format the pay and average pay for currency.  Include 2 decimal places
9.6 Make sure that the totals align correctly
.
10. Use a While (or Do While) loop that will terminate when the user responds "No" to a MessageBox.
11. Validate the pay code that the user enters.  On an invalid entry, using a MessageBox, display "Invalid Code"
.
12. Use a Select Case statement to determine each type of employee.  Within the Select Case:
.
12.1 Prompt the user to enter the appropriate information that your program needs to calculate each employee's pay
12.2 Calculate the pay
12.3 Accumulate the total pay for that employee type
12.4 Increment the counter for that employee type
.
13. Save your program and test it with valid and invalid input.
 

All content on this site is free for private use only  |  Contributions are encouraged  |  Thank you to Netfirms for the free hosting  |  If copyright content is published here or links to certain content violates some right/law, contact the Webmaster to have it removed immediately.

 

Site launched: October 2005  |  Updated: July 20, 2006  |  Link exchange  |  Site map  |  Contact us