how to get sum of two numbers in vb.net?
Answer Posted / ambar
Sub Main()
Dim x, y As Integer
Console.Write("Enter value of x: ")
x = Console.ReadLine()
Console.Write("Enter value of y: ")
y = Console.ReadLine()
Console.Write("Sum x+y = ")
Console.WriteLine(x + y)
Console.ReadLine()
End Sub
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
What is a static class?
How to create a constant in vb.net?
Tell me which namespace are used for accessing the data?
Explain the observations between vb.net and vc#.net?
What is the difference between convert.tostring and .tostring() method?
Define clr?
What is code access security?
What is a literal control?
How to connect crystal report in vb.net ?
Name some of the features present in vb 2005?
Which control is an example of an object in vb net?
What is the use of assembly?
What is the diff between vb mdi form and .net mdi form?
What is the difference between import system.data.sqlclient and system.data.oledb?
What are nested classes?