how to get sum of two numbers in vb.net?
Answer Posted / sonia
Sub Main()
Dim x, y, sum As Integer
Console.WriteLine("Enter two numbers")
x = Console.ReadLine()
y = Console.ReadLine()
sum = x + y
Console.WriteLine("Sum = " & sum)
Console.ReadLine()
'& is used for concatenation
End Sub
| Is This Answer Correct ? | 75 Yes | 19 No |
Post New Answer View All Answers
What is internal keyword in .net framework?
Explain jagged array in vb.net?
Can you please explain the difference between c# and vb.net?
What is the difference between manifest and metadata?
Explain strong name in .net assembly?
Explain the difference between value and reference types?
What do you mean by deserialization?
What is meant by jagged arrays?
List the types of authentication?
What is code access security?
Explain the use of new keyword?
What are jagged arrarys ?
What is the exact defination of object?
Tell me which namespace are used for accessing the data?
Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.