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

What is a static variable?

1932


source code for how to login a vb.net application ?

1075


What are the shadow variables?

1102


What are the different types of Lock available in Visual Basic?

1157


What is econo-jit?

1208


Can you please explain the difference between dataset and datareader?

1072


What is early binding?

994


Why do we use byref keyword in vb.net?

1105


Described strong typing and weak typing?

1114


How can we remove handlers at run time?

1098


Explain the services provided by common language infrastructure.

1266


What languages does the .net framework support?

1039


Explain jagged array in vb.net?

1041


Can you please explain the difference between value and reference types?

964


What is the significance of delegates. Where should they be used?

997