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

Explain global assembly cache (gac)?

1160


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

1022


Name a feature which is common to all .net languages?

1019


How would you implement inheritance using vb.net?

918


What are the difference between dispose(), close(), exit(), end()?

897


What is static member?

1011


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

2531


What do you understand by vb.net?

1041


What is the significance of delegates?

963


Can you please explain the difference between int and int32?

1078


Explain option strict?

958


Explain about rapid application development tool?

965


What is the difference between c# and vb.net?

1004


what is common language specification?

977


what is interface and when it is used?

2273