Computer Science, asked by piyu23, 1 year ago

write the VB code to find greater number between two numbers using input box design the form also

Answers

Answered by Mobirokx
5
Dim a, b, As Integer
a = InputBox( "enter 1st no." )
b = InputBox( "enter 2nd no." )
If a > b Then
MsgBox( "A is Greater" )

Else
MsgBox( "B is Greater" )
End If
Similar questions