write a VB.net program to swap two numbers
Answer Posted / vineetha
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)
Sytem.console.ReadLine()
End Sub
End Module
| Is This Answer Correct ? | 14 Yes | 17 No |
Post New Answer View All Answers
How do you define a read only property in a class module?
Explain the advantages of vb.net?
Can you please explain the difference between thread and process?
Explain the difference between namespace and assembly?
What are the two main parts of .net?
What is the advantages of VB.NET?
What is strong name in .net assembly?
Explain how the .net framework performs automatic memory management.
Explain how to achieve polymorphism in vb.net?
Why should you use delegate?
What do you mean by option strict on?
Explain how to store decimal data in .net?
What are all the parts of .net framework?
What is the maximum size of the textbox?
Explain the difference between int and int32?