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...
This layout manager arranges components in rows.
A) GridLayout B) BorderLayout C) FlowLayout D) RegionLayout
What is the most common object analyzed by the Database Documenter tool?
A) Field B) Report C) Table D) Form
You would ________ a table if you wanted to display only data that matches specific criteria
A) scale B) freeze C) sort D) filter
The Patriot Act had no effect on computer forensics.
a. true b. false