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 difference between metadata and manifest?
Explain managed code?
What are option strict and option explicit?
What are all the differences between dispose and finalize()?
Write a program to find all text files in a logical drive and return the count of the number of files?
What is the use of system.diagnostics.process class?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
How do you call a stored procedure in Visual Basic?
What is the difference between c# and vb.net?
Explain strong name in .net assembly?
What is the size of .net object?
What are jagged arrarys ?
Which classes a dll can contain?
What is private assembly?
Explain the difference between value and reference types?