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 is code access security?

1139


What are the various open source tool available for VB.NET?

901


What is the difference between datagrid and gridview?

958


Explain jit?

993


What are all the differences between dispose and finalize()?

996


Explain about branching logic control in vb.net?

890


Explain about the performance of visual basic?

979


List the types of authentication?

861


Explain the difference between dispose and finalize()?

1029


How do you retrieve the customized properties of a .net application from xml .config file?

926


Explain about delegate?

836


Explain internal keyword in .net framework?

935


Explain the difference between vb 6 and vb.net?

921


What is difference between inline and code behind?

974


What is intermediate langauge?

911