Using Visual basic 2010 code with visual studio 2010 windows form application:
Design a Windows application and write the code according to the following requirements:
Application title: Payroll Calculator
Purpose: This application calculates the payroll for employees of the Food For All local grocery store. Procedures: In a Windows application, the user enters the employee's name, hours worked,and pay per hour. If the employee works more than 40 hours per week, the grocery store pays time-and-a-half for overtime. The tax rate can be the single rate (18%) or at the family rate (15%).
The application should compute and display the gross pay, the tax based on the single or family rate, and the net pay.
Algorithms, Processing, and Conditions:
1.The user must be able to enter the employee's name, hours worked, and pay per hour.
2. The user must be able to indicate if the tax rate is at the single rate(18%) or the family
rate(15%)
3. The user must be able to initiate the calculation and the display of the gross pay, the tax amount based on the single or family rate, and the net pay.
4. A Clear button will clear the user's input and final results.
Notes and Restrictions:
1. If the employee name, hours worked, or pay per hour are blank, the user should be advised and asked for a valid entry.
2. If the hours worked or pay per hour are nonnumeric, the user should be advised and asked for a valid entry.
3. The minimum value for hours worked is 5 hours. The maximum for hours worked is 60. If the user enters an hours worked value not within the range, the user should be advised and asked for a valid entry.
4. The minimum pay per hour is $8.00. The maximum pay per hour is $40.00 per hour. If the user enters a pay per hour value not within the range, the user should be advised and asked for a valid entry.
5. The user must be able to clear the employee's name, the hours worked, and pay per hour, and the pay information.
This is a from
Employ Name(lbl) Gorss Pay(lbl)
Hours Worked(lbl Tax(lbl)(lbl)
Pay per Hour(lbl) Net Pay (lbl)
Tax rate(lbl)
Clear (But) Calculate (Bot)