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
Why should you use delegate?
Explain the advantages of migrating to vb.net?
How can we store decimal data in .net?
what is diffrence constructor and destructor in vb
When do you use virutal keyword?
Explain the services provided by common language infrastructure.
What would you do to remove microsoft visual basic name space?
What is the difference between manifest and metadata?
What are the advantages of an assembly?
What is the strong name in .net assembly?
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
How a base class method is hidden?
Explain about branching logic control in vb.net?
What is an assembly and its use?
What is the use of errorprovider control?