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
Is vb net a scripting language?
Explain the difference between dispose and finalize()?
Explain about the ruby interface generator?
What are the shared variables?
How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?
What is the difference between compiler and interpreter?
List the two main parts of .net?
What are the advantages of VB.NET?
Explain convert.tostrin?
Explain cts?
Why is the xml infoset specification different from the xml dom?
What are jagged arrays ?
What is non_deterministic finalization?
Name some different types of control?
What is globalization?