how to get sum of two numbers in vb.net?
Answer Posted / shaker
Dim X As Integer
Dim Y As Integer
Dim Sum As Integer
Sub Main()
Console.WriteLine("Enter the number for X")
X = Console.ReadLine()
Console.WriteLine("Enter the number for Y")
Y = Console.ReadLine()
Sum = X + Y
Console.WriteLine("The sum of Two numbers is: " & Sum)
Console.ReadLine()
End Sub
End Modu
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
So you know which dll is used for microsoft .net run time?
Which classes a dll can contain?
Why do you need Lock in Visual Basic?
What is redim keyword and its use?
Can you please explain the difference between authentication and authorization?
how to deploy vb.net with key and evaluation time? any one can help me?
Write a program that would find the nth term of a geometric progression, given the value of first term and common ratio. Any inbuilt function that the language provides for calculating exponent should not be used.
What is intermediate langauge?
What are the various open source tool available for VB.NET?
What is pre-jit?
Did vb6 support multi-threading ?
Described strong typing and weak typing?
what is common language specification?
What are the shadow variables?
What are the shared variables?