You are on page 1of 1

Public Class Form1

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

You might also like