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

Write the role of new keyword?

616


Explain the components of common language runtime.

521


What is internal keyword in .net framework?

632


What is an assembly and its use?

548


described weak typing?

591






What is the use of system.diagnostics.process class?

566


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

711


What is the difference between custom control and user control?

556


Write a program to find all text files in a logical drive and return the count of the number of files?

2277


What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?

557


What is sorting in vb?

528


What is multiple form in vb?

461


Explain jagged array in vb.net?

568


What is writeline in vb.net?

530


What is the difference between .dll extension and .exe extension files?

612