Question: 12. Earnings Write a program to determine a person's weekly pay, where they receive time- and-a-half for overtime work beyond forty hours. See Fig. 5.34.
12. Earnings Write a program to determine a person's weekly pay, where they receive time- and-a-half for overtime work beyond forty hours. See Fig. 5.34. The program should use the event procedure shown in Fig. 5.35. Private Sub btnCalculate_Click(. ..) Handles btncalculate.Click Dim hours, payPerHour, overtimeHours, pay As Decimal InputData (hours, payPerHour) 1culateValues (hours, payPerHour, overtimeHours, pay) DisplayData (overtimeHours, pay) End Sub FIGURE 5.35 Event procedure for Exercise 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
