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 are the advantages of migrating to vb.net?
Explain about globalization?
How many languages are supported by .net?
Can you please explain the difference between value and reference types?
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
Explain jagged array in vb.net?
What is the difference between c# and vb.net?
Explain about delegate?
Explain the difference between vb 6 and vb.net?
How to achieve Polymorphism in VB.Net?
thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net
What is sorting in vb?
What are the difference between structure and class?
What is the difference between value and reference types?
Define serialization in .net?