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
What is a static variable?
source code for how to login a vb.net application ?
What are the shadow variables?
What are the different types of Lock available in Visual Basic?
What is econo-jit?
Can you please explain the difference between dataset and datareader?
What is early binding?
Why do we use byref keyword in vb.net?
Described strong typing and weak typing?
How can we remove handlers at run time?
Explain the services provided by common language infrastructure.
What languages does the .net framework support?
Explain jagged array in vb.net?
Can you please explain the difference between value and reference types?
What is the significance of delegates. Where should they be used?