Question: The Select Case statement shown in Figure 5-87 contains one or more errors. Identify the error(s) and rewrite the statements correctly. Select Case charFlightCode Case
The Select Case statement shown in Figure 5-87 contains one or more errors. Identify the error(s) and rewrite the statements correctly.
Select Case charFlightCode Case 'P', 'A' lblFare.Text = 'First Class' Case 'B', 'Q' lblFare.Text = 'Business Class' Case 'Y', 'S', 'M' lbl Fare.Text Full Fare Economy' Case 'K', 'C' lbl Fare.Text = 'Preferred Economy' Case U 'J', 'P', 'G' Else lbl Fare.Text = 'Economy' lbl Fare Text 'Unknown' End Select FIGURE 5-87
Step by Step Solution
3.45 Rating (148 Votes )
There are 3 Steps involved in it
The single q... View full answer
Get step-by-step solutions from verified subject matter experts
