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
WriteLine("Ente a:")
a = ReadLine()
Console.WriteLine("Enter b:")
b = ReadLine()
c = a + b
WriteLine("The Result is:" & c)
ReadLine()
End Sub

End Module

Is This Answer Correct ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stack used for in vb. Net?

611


What is difference between metadata and manifest?

652


How many languages are supported by .net?

625


What is pre-jit?

623


What is the use of assembly?

653






Tell us how many languages are supported by .net?

595


What is the difference between import system.data.sqlclient and system.data.oledb?

590


Define manifest?

647


Why is the xml infoset specification different from the xml dom?

607


What are the difference between structure and class?

647


What would you do to remove microsoft visual basic name space?

583


What is the significance of delegates?

602


Which class allows an element to be accessed using unique key?

597


Name the two main parts of .net?

605


Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.

2127