answersLogoWhite

0


Best Answer

Dim a, b, c As Integer

a = InputBox("enter 1st no.")

b = InputBox("enter 2nd no.")

c = InputBox("enter 3rd no.")

If a > b Then

If a > c Then

MsgBox("A is Greater")

Else

MsgBox("C is greater")

End If

Else

If b > c Then

MsgBox("B is Greater")

Else

MsgBox("C is Greater")

End If

End If

End Sub

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you find greatest number among three with vb.net?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Movies & Television
Related questions

RGPV mca 5th semester last three year solved paper in vbnet?

yes


Is java better than vbnet?

Java is not better than VBNet, nor is VBNet better than Java. Eachone has its advantages and disadvantaged over the other one.


What is the difference between C and Vbnet?

It is just a different coding language, but C is more for business that VBNET


What is datareader in VBNET?

x


What is instance in vbnet?

An instance in VBNet is the same as an instance in any other language; it is the realisation of a type. In object-oriented languages, like VBNet, we say that an object is an instance of a class, where the class defines the object's type.


What is an instance in vbnet?

An instance in VBNet is the same as an instance in any other language; it is the realisation of a type. In object-oriented languages, like VBNet, we say that an object is an instance of a class, where the class defines the object's type.


IS VBNet purely objet oriented?

no


Who is the father of vbnet?

Alan Cooper


Who is the developer of vbnet?

Microsoft Microsoft.com/VisualStudio


Is the Class type in VBNET a value type?

NO.


How do you write a VBnet program to find the prime numbers between 100 to 200?

VBnet program to find the prime numbers between 100 to 200?


What is public in vbNET?

It means it can be used by other classes