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 static member?
What is break mode? What are the options to step through code?
Can you please explain the difference between dataset and datareader?
Explain about the feature anonymous type?
Explain how to achieve polymorphism in vb.net?
Explain about garbage collection?
Compare c# and visual basic.net?
What are nested classes?
What are the different types of a stream?
Can you please explain the difference between int and int32?
What is the difference between value and reference types?
Write a VB.Net console program to check whether a number is perfect or not.
What is a static variable?
how to deploy vb.net with key and evaluation time? any one can help me?
Explain the difference between vb 6 and vb.net?