In this exercise, you modify one of the Gross Pay Calculator applications from the lesson. Use Windows

Question:

In this exercise, you modify one of the Gross Pay Calculator applications from the lesson. Use Windows to make a copy of the Gross Solution-Single folder. Rename the copy Modified Gross Solution-Single. Open the Gross Solution (Gross Solution.sln) file contained in the Modified Gross Solution-Single folder. Locate the btnCalc_Click procedure in the Code Editor window. Change the selection structure’s true path as indicated in Figure 4-28. Save the solution, and then start and test the application.

1. store hours and rate in variables 2. gross = hours * rate 3. if hours are greater than 40 overtime = (hours - 40) * rate / 2 gross = gross + overtime end if 4. display gross in IbIGross

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: