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
What is trace in vb.net?
What are the differences between vb.net and c#, related to oops concepts
Explain the components of common language runtime.
What is sorting in vb?
Explain about Visual basic.NET culture?
What is code security?
Describe about visual basic.net?
What is private assembly?
what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.
write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.
What is vb.net used for?
Described strong typing and weak typing?
What are all the parts of .net framework?
Observations between vb.net and vc#.net?
How to create a constant in vb.net?