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 is the purpose of an Assembly?
What are the difference between dispose(), close(), exit(), end()? When do we use them?
Explain the observations between vb.net and vc#.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 meant by jagged arrays?
What are the various open source tool available for VB.NET?
Explain the difference between web.config and machine.config and where it will be ?
What do you understand by vb.net?
How do you define a read only property in a class module?
What is the difference between compiler and interpreter?
Described strong typing
Explain about rapid application development tool?
Explain the advantage of option strict on?
Explain about the performance of visual basic?
Which class allows an element to be accessed using unique key?