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


Please Help Members By Posting Answers For Below Questions

Define cls?

601


Define manifest?

541


List the two main parts of .net?

596


what is common language specification?

523


What are the features of c# which are not present in vb.net?

658






Which is the tool which can convert visual basic old version to .net compatibility version?

531


What is misl code?

569


Explain the difference between vb 6 and vb.net?

543


What is visual basic.net culture?

508


What are the features present in vb 2005?

573


Explain the advantage of option strict on?

533


Name the two main parts of .net?

526


What are the differences between c# and visual basic.net?

531


Explain jit?

552


Can we use Vb.Net and C# language simultaneously in one .Net application?

567