The case ist & else case is executing but not others
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim marks As Integer
marks = CInt(TextBox1.Text)
Select Case marks
Case Is > 35
MsgBox("number is greater than 35")
Case Is > 50
MsgBox("number is greater than 50")
Case Is > 65
MsgBox("number is greater than 65")
Case Is > 75
MsgBox("number is greater than 75")
Case Else
MsgBox("wrong entery")
End Select
End Sub
Comment