Question: Create an application, using the following names for the solution and project, respectively: Gross Solution-Function and Gross Project. The applications interface is shown in Figure
Create an application, using the following names for the solution and project, respectively: Gross Solution-Function and Gross Project. The application’s interface is shown in Figure 7-30. The lstHours control should display the number of hours worked from 1 to 60 in increments of 1. The lstRates control should display pay rates from 10.00 to 30.00 in increments of 0.5. The default selections in the lstHours and lstRates controls should be 37 and 10.00, respectively. The application should use a function to calculate and return an employee’s gross pay, which is based on the number of hours worked and the pay rate selected in the list boxes. Employees are paid their regular pay rate for hours worked from 1 through 37. They are paid time and a half for the hours worked from 38 through 50, and they are paid double-time for hours worked over 50. Test the application appropriately. If an employee earns $10 per hour and works 37 hours, the gross pay is $370.00. If he or she works 38 hours, the gross pay is $385.00. If he or she works 51 hours, the gross pay is $585.00.

Gross Pay Calculator Hours: Rates: IstRates IstHours Calculate Exit Gross pay.
Step by Step Solution
3.46 Rating (153 Votes )
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Gross Project Gros... View full answer
Get step-by-step solutions from verified subject matter experts
