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 is difference between inline and code behind?
List the two main parts of .net?
what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.
What is the source code for display the picture in button click event?
Using VB, how can you change the Mouse Pointer?
How to achieve Polymorphism in VB.Net?
What is the size of .net object?
How to send xml file on server using http protocol?
Explain cls?
What is the role of new keyword?
Name the two main parts of .net?
Describe about visual basic.net?
How to connect crystal report in vb.net ?
Explain about the feature anonymous type?
What is misl code?