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...
Which account has extremely limited access to resources and computer activities and is intended for occasional use by low-security users?
A. Root B. Guest C. Administrator D. User
Deleting a record might have unforeseen consequences, so should be done cautiously
Indicate whether the statement is true or false
The AVERAGE function require more arguments than the SUM function
Indicate whether the statement is true or false
OneNote is ______________.
Fill in the blank(s) with the appropriate word(s).