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
Explain the services provided by common language infrastructure.
How many ways the function can return values?
Explain the difference between dispose and finalize()?
Explain strong name in .net assembly?
Explain how to store decimal data in .net?
what is intermediate language?
Explain the use of option explicit?
Compare c# and visual basic.net?
Explain about garbage collection?
Name some of the keywords used in vb.net?
What is the purpose of objects present in asp.net?
Explain the difference between thread and process?
How to send xml file on server using http protocol?
what is diffrence constructor and destructor in vb
described weak typing?