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...

write a VB.net program to swap two numbers

Answer Posted / basudev_kan

Module Basudev
Sub Main()
dim a,b,te as integer
System.console.writeline("Enter The Two Number:")
a=System.Console.ReadLine()
b=System.console.ReadLine()
System.console.WriteLine("The Two Number is:{0} And{1}:",a,b)
te=a
a=b
b=te
System.console.WriteLine("After Swapping Value is:{0} and
{1}:",a,b)
Ssytem.console.ReadLine()
End Sub
End Module

Is This Answer Correct ?    83 Yes 42 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by vb.net?

1081


What is redim keyword and its use?

1076


What is the difference between import system.data.sqlclient and system.data.oledb?

998


what is diffrence constructor and destructor in vb

1024


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

1017


Why should you use delegate?

959


Explain how does the xmlserializer work?

1081


Explain manifest?

995


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

949


What are the advantages of migrating to vb.net?

1035


What is the ruby interface generator?

1091


What is the difference between manifest and metadata?

1129


What is internal keyword in .net framework?

1087


What are jagged arrarys ?

1019


Explain enumerator?

956