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

List the types of authentication?

907


What is the role of new keyword?

1027


What is the ruby interface generator?

1039


i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?

2657


Define serialization in .net?

1160


What is difference between metadata and manifest?

1089


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

1041


what is common language specification?

965


What is trace in vb.net?

1012


How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?

2952


Described strong typing

945


Explain clr?

1030


How vb implements the disconnected architecture as like vb.net?

1007


What languages does the .net framework support?

983


What keyword is used to accept a variable number of parameter in a method?

1016