how to get sum of two numbers in vb.net?
Answer Posted / banshi
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 ? | 124 Yes | 34 No |
Post New Answer View All Answers
Explain how to send xml file on server using http protocol?
Explain the use of new keyword?
Is vb net a scripting language?
Name some of the features of C# which are not present in VB.NET?
Explain the use of console application?
Can you please explain the difference between int and int32?
What do you mean by Redim in VB.NET?
Can you please explain the difference between c# and vb.net?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
Explain cts?
what is common language specification?
Explain how to achieve polymorphism in vb.net?
What are the features of c# which are not present in vb.net?
What are the different types of Lock available in Visual Basic?
What are option strict and option explicit?