Question: The If ... Then . . . Else statement shown in Figure 5-88 contains one or more errors. Identify the error(s) and rewrite the statements

The If ... Then . . . Else statement shown in Figure 5-88 contains one or more errors. Identify the error(s) and rewrite the statements correctly.If strShippingMethod "Overnite" Then If strDeliveryTime = "Morning" Then decDeliveryCost 29.00D Else

If strShippingMethod "Overnite" Then If strDeliveryTime = "Morning" Then decDeliveryCost 29.00D Else Else decDelivery Cost 24.00D If strShippingMethod = "Two Days" Then Else End If decDeliveryCost = 14.00D decDeliveryCost -4.00D FIGURE 5-88

Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The code is missing the End I... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Microsoft Visual Basic Questions!