VB If Else Statement
VB If Else Statement
CODE IS :-
Private Sub Form_Load()
Form1.Show
Dim a As Integer
a = InputBox("Enter the value of a")
If a > 5 Then
Print "The number is greater than 5"
Else
Print "The number is less than 5"
End If
End Sub
--------------------------
Comments
Post a Comment