Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / ambar

Sub Main()
Dim x, y As Integer
Console.Write("Enter value of x: ")
x = Console.ReadLine()
Console.Write("Enter value of y: ")
y = Console.ReadLine()
Console.Write("Sum x+y = ")
Console.WriteLine(x + y)
Console.ReadLine()
End Sub

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static member?

1002


What is break mode? What are the options to step through code?

1052


Can you please explain the difference between dataset and datareader?

1027


Explain about the feature anonymous type?

984


Explain how to achieve polymorphism in vb.net?

936


Explain about garbage collection?

985


Compare c# and visual basic.net?

946


What are nested classes?

937


What are the different types of a stream?

1011


Can you please explain the difference between int and int32?

1066


What is the difference between value and reference types?

1082


Write a VB.Net console program to check whether a number is perfect or not.

7801


What is a static variable?

1778


how to deploy vb.net with key and evaluation time? any one can help me?

2193


Explain the difference between vb 6 and vb.net?

978