how to get sum of two numbers in vb.net?
Answer Posted / pavan kumar
imports system.console
sub main()
a,b as integer
c as String
Console.WriteLine("Ente a:")
ReadLine()
Console.WriteLine("Enter b:")
ReadLine()
c=a+b
Console.WriteLine("The Result is:"+c)
End Sub
| Is This Answer Correct ? | 22 Yes | 19 No |
Post New Answer View All Answers
Explain namespace?
What is sorting in vb?
How do you define a read only property in a class module?
What is redim keyword and its use?
Explain strong name in .net assembly?
What is global assembly cache (gac)?
What is the difference between import system.data.sqlclient and system.data.oledb?
What do you understand by vb.net?
Using VB, how can you change the Mouse Pointer?
Explain private assembly?
Which control is an example of an object in vb net?
How a base class method is hidden?
What is an assembly and its use?
Which class allows an element to be accessed using unique key?
Write a VB.Net console program to check whether a number is perfect or not.