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 pre-jit?
Which dll is used for microsoft .net run time?
difference between control and component more than one differences
What are the different variables in vb.net?
Allowed program to auto-correct the database when loading a presentation.
What is the importance of a Button control?
Explain the components of common language runtime.
Explain the difference between thread and process?
What are the difference between dispose(), close(), exit(), end()? When do we use them?
What is branching logic control in VB.NET?
When do you use virutal keyword?
What is portable executable?
Explain the difference between import system.data.sqlclient and system.data.oledb?
How can we remove handlers at run time?
Explain the difference between .dll extension and .exe extension files?