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 the difference between an xml "fragment" and an xml "document."
my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .
What is redim keyword and its use?
Can we use Vb.Net and C# language simultaneously in one .Net application?
What is branching logic control in VB.NET?
What are the assembly entry points?
Explain about garbage collection?
Explain how can we remove handlers at run time?
What do you mean by option strict on?
What is multiple form in vb?
What are the differences between vb.net and c#, related to oops concepts
Explain jagged array in vb.net?
Explain the difference between dispose and finalize()?
Explain about visual basic.net?
What is the significance of delegates?