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

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

Is This Answer Correct ?    23 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between an xml "fragment" and an xml "document."

906


my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .

2060


What is redim keyword and its use?

1032


Can we use Vb.Net and C# language simultaneously in one .Net application?

1009


What is branching logic control in VB.NET?

975


What are the assembly entry points?

1021


Explain about garbage collection?

991


Explain how can we remove handlers at run time?

1001


What do you mean by option strict on?

1124


What is multiple form in vb?

892


What are the differences between vb.net and c#, related to oops concepts

971


Explain jagged array in vb.net?

986


Explain the difference between dispose and finalize()?

1108


Explain about visual basic.net?

1235


What is the significance of delegates?

963