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
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
What are different types of jit ?
What do you mean by option strict on?
What is pre-jit?
What is option strict?
What are the shared variables?
What is the difference between value and reference types?
Explain how to send xml file on server using http protocol?
What is a static variable?
What is the difference between static or dynamic assemblies?
What are the difference between dispose(), close(), exit(), end()?
Explain about rapid application development tool?
Which is the tool which can convert visual basic old version to .net compatibility version?
Name some of the features of C# which are not present in VB.NET?
What are the different types of applications supported in .net (or) .net framework?