What is the problem (if any) with the following Select Case block which is intended to determine the price of a movie depending on the patron's age?
```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim age as Integer, price As Decimal
age = CInt(InputBox("Enter your age:"))
Select Case age
Case Is >= 65 'Senior citizen
price = 4.50D
Case Is >= 5 'Regular price
price = 6.00D
Case Is .= 0 'Child (no charge with parents)
price = 0
Case Else
txtBox.Text = "Entry error"
End Select
End Sub
```
(A) Everyone will get in free at the child rate.
(B) The output will always be "Entry error."
(C) The Case Is statements have bad syntax.
(D) There is nothing wrong.
(D) There is nothing wrong.
You might also like to view...
The first phase in the development of the contingency planning process is the ____.
A. crisis plan B. disaster recovery plan C. incident response plan D. business impact analysis
The ____________________ axis on a column chart shows the names of the categories being charted.
Fill in the blank(s) with the appropriate word(s).