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

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)
Sytem.console.ReadLine()
End Sub
End Module

Is This Answer Correct ?    14 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we remove handlers at run time?

1058


Can you please explain the difference between dispose and finalize()?

1042


What are the different types of applications supported in .net (or) .net framework?

934


Explain about rapid application development tool?

950


What do you mean by serialization and deserialization and it's use.

1044


Which namespace are used for accessing the data?

1232


Explain internal keyword in .net framework?

971


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

953


What is DLL HELL in VB.NET

1020


What is the ruby interface generator?

1039


Explain trace in vb.net?

969


Explain the advantage of option strict on?

924


List the types of generations in garbage collector?

893


Explain manifest?

926


How can we store decimal data in .net?

991