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 are the differences between c# and visual basic.net?
What do you mean by serialization and deserialization?
What is the exact defination of object?
How to store images in sql server database through vb.net?
What do you mean by serialization?
how to get dynamic control array position or its index position?
Explain namespace?
Name a feature which is common to all .net languages?
what is difference between web.config and machine.config and where it will be ?
What is DLL HELL in VB.NET
What is the differnce between managed code and unmanaged code?
What are all the differences between dispose and finalize()?
Which namespace are used for accessing the data?
What are the difference between structure and class?
Explain the components of common language runtime.