how to get sum of two numbers in vb.net?
Answer Posted / kaviyarasu
Imports system.console
Module Module1
Sub main()
Dim a, b, c As Integer
Console.WriteLine("Ente a:")
a = ReadLine()
Console.WriteLine("Enter b:")
b = ReadLine()
c = a + b
Console.WriteLine("The Result is:" & c)
ReadLine()
End Sub
End Module
| Is This Answer Correct ? | 15 Yes | 12 No |
Post New Answer View All Answers
What are the different variables in vb.net?
how to get dynamic control array position or its index position?
Explain manifest?
Can you please explain the difference between vb and vb.net?
Explain public assembly?
What is a static class?
What are the differences between vb.net and c#, related to oops concepts
What are the shared variables?
What is the Advantage of vb.net over vb
Can you please explain the difference between c# and vb.net?
Explain about rapid application development tool?
i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?
What is the difference between vb 6 and vb.net?
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 a literal control?