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
Explain the difference between datatable and dataset?
Explain some of the exclusive features which are present in vb?
What is the class that allows an element to be accessed using unique key?
how to get dynamic control array position or its index position?
What is the difference between c# and vb.net?
Name the class which allows an element to be accessed using unique key?
What is break mode? What are the options to step through code?
Explain manifest?
Define manifest?
Which classes a dll can contain?
What is jagged array in vb.net?
What do you mean by option strict on?
What is econo-jit?
What are the features of c# which are not present in vb.net?
What is the top .net class that everything is derived from?