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
Explain the difference between import system.data.sqlclient and system.data.oledb?
Can you please explain the difference between dispose and finalize()?
What are the assembly entry points?
What is portable executable?
Explain public assembly?
What are the differences between server-side and client-side code?
What is the significance of delegates. Where should they be used?
Is vb.net dead?
How to send xml file on server using http protocol?
How a base class method is hidden?
Explain the difference between an xml "fragment" and an xml "document."
What are the parts of the visual basic control?
What is branching logic control in VB.NET?
What is difference between import system.data.sqlclient,system.data.oledb?
How to create a constant in vb.net?