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
How to achieve Polymorphism in VB.Net?
Described strong typing
What is the purpose of an Assembly?
How to create a constant in vb.net?
What is deep copy?
Explain convert.tostring and i.tostring method?
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
What is the difference between .dll extension and .exe extension files?
What is the feature anonymous type?
Explain namespace?
What is the significance of delegates. Where should they be used? What are the situations where we require them?
How does vb.net achieve polymorphism?
Explain about the feature anonymous type?
How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently
Write a program that would find the nth term of a geometric progression, given the value of first term and common ratio. Any inbuilt function that the language provides for calculating exponent should not be used.