Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click Dim model As Integer = TextBox1.Text Select Case model Case 119, 179, 221, 780 Label2.Text = "Your car is defective, Please have it fixed." Case 189 To 195 Label2.Text = "Your car is defective, Please have it fixed." Case Else Label2.Text = "Your car is not defective" End Select End Sub End Class