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
What do you understand by vb.net?
What is redim keyword and its use?
What is the difference between import system.data.sqlclient and system.data.oledb?
what is diffrence constructor and destructor in vb
How to retrieve images in sql server database through vb.net?
Why should you use delegate?
Explain how does the xmlserializer work?
Explain manifest?
What are the difference between dispose(), close(), exit(), end()?
What are the advantages of migrating to vb.net?
What is the ruby interface generator?
What is the difference between manifest and metadata?
What is internal keyword in .net framework?
What are jagged arrarys ?
Explain enumerator?