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 / shaker

Dim X As Integer
Dim Y As Integer
Dim Sum As Integer
Sub Main()
Console.WriteLine("Enter the number for X")
X = Console.ReadLine()
Console.WriteLine("Enter the number for Y")
Y = Console.ReadLine()
Sum = X + Y
Console.WriteLine("The sum of Two numbers is: " & Sum)

Console.ReadLine()


End Sub

End Modu

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

923


What is an assembly and its use?

960


How to retrieve images in sql server database through vb.net?

933


how to get dynamic control array position or its index position?

2476


what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.

985


What is DLL HELL in VB.NET

997


What is different between web.config and machine.config and where it will be ?

972


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

996


Explain how the .net framework performs automatic memory management.

963


Explain about visual basic?

941


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.

2347


What are all the parts of .net framework?

932


What is option strict?

973


How can we remove handlers at run time?

1024


What is difference between inline and code behind?

991