how to get sum of two numbers in vb.net?
Answer Posted / rajesh
Sub main()
Dim a , b , c As Integer
System.Console.WriteLine("Enter a")
a = Console.ReadLine
System.Console.WriteLine("Enter b")
b = Console.ReadLine
c=a+b
System.Console.WriteLine("The value is")
MsgBox(c)
End sub
Is This Answer Correct ? | 19 Yes | 11 No |
Post New Answer View All Answers
Name some of the features present in vb 2005?
What are jagged arrays ?
what is the advantage of option strict on?
Define clr?
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate
What is an application domain? how they get created?
What would you do to remove microsoft visual basic name space?
Explain what observations between vb.net and vc#.net?
What are the difference between structure and class?
What is the importance of a Button control?
What are the differences between vb.net and c#, related to oops concepts
How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?
What are the advantages of vb.net and c#?
Observations between vb.net and vc#.net?
List the types of authentication?