how to get sum of two numbers in vb.net?

Answer Posted / sudhakar

imports system.console
sub main()
a,b,c as integer
Console.WriteLine("Enter a")
ReadLine()
Console.WriteLine("Enter b")
ReadLine()
c=a*b
Console.WriteLine("The Result is:"+c)
End Sub

Is This Answer Correct ?    19 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.

1961


What is the source code for display the picture in button click event?

708


What is misl code?

566


What are the shadow variables?

590


Explain the difference between .dll extension and .exe extension files?

526






Allowed program to auto-correct the database when loading a presentation.

1743


Name some of the features of C# which are not present in VB.NET?

553


What is stack used for in vb. Net?

534


What is the top .net class that everything is derived from?

616


Explain the difference between an xml "fragment" and an xml "document."

505


How do you call a stored procedure in Visual Basic?

587


How to achieve Polymorphism in VB.Net?

622


What are the different types of a stream?

561


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

521


What do you mean by option strict on?

664