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
Explain about the ruby interface generator?
Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.
Define serialization in .net?
What is sealed class?
Explain cls?
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
Explain about garbage collection?
What is the use of console application?
Why should you use delegate?
What is the class that allows an element to be accessed using unique key?
Explain the difference between datatable and dataset?
Explain about visual basic.net?
Explain cts?
What is tracing?
Explain the observations between vb.net and vc#.net?