how to get sum of two numbers in vb.net?
Answer Posted / aman
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 ? | 5 Yes | 8 No |
Post New Answer View All Answers
What is the use of system.diagnostics.process class?
Can you please explain the difference between int and int32?
Explain option strict?
What is the main purpose of garbage collector?
What are the technology areas that microsoft.net contains?
what is commom language runtime?
What is DLL HELL in VB.NET
Observations between vb.net and vc#.net?
What is the difference between c# and vb.net?
What are the advantages of an assembly?
Define serialization in .net?
What is an application domain? how they get created?
Define manifest?
What would you do to remove microsoft visual basic name space?
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.