write a VB.net program to swap two numbers
Answer Posted / vineetha.balan
Module Vineetha
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)
System.console.ReadLine()
End Sub
End Module
Is This Answer Correct ? | 23 Yes | 13 No |
Post New Answer View All Answers
What does assert() method do In VB.NET
Tell me which namespace are used for accessing the data?
What is the difference between Namespace and Assembly?
Describe about visual basic.net?
Explain jagged array in vb.net?
What is normal jit?
What is the difference between vb 6 and vb.net?
What is the significance of delegates. Where should they be used?
What is the difference between static or dynamic assemblies?
What is a preprocessor directive in vb.net?
described weak typing?
What is the differnce between managed code and unmanaged code?
difference between control and component more than one differences
What is sorting in vb?
What are option strict and option explicit?