Question: Debugging Exercises 1. Fix the following code: Option Strict On Dim intDistance As Integer intDistance = 17.5 2. Fix the following code: Dim dblRegularPay As
Debugging Exercises
1. Fix the following code: Option Strict On Dim intDistance As Integer intDistance = 17.5
2. Fix the following code: Dim dblRegularPay As Double Dim dblOvertimePay As Double intRegularPay = 783.87 intOvertimePay = 105.92 lbl.TotalPay = (dblRegularPay + dblOvertimePay).ToString(C)
3. Analyze the code in Figure 4-97 and then correct it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
