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 internal keyword in .net framework?
What do you mean by serialization and deserialization?
What is vb.net used for?
What is stack used for in vb. Net?
What is datatype conversion?
Explain the difference between web.config and machine.config and where it will be ?
Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?
What is the advantages of VB.NET?
what is the advantage of option strict on?
What are the two main parts of .net?
Describe about visual basic.net?
What are the advantages of migrating to vb.net?
difference between checkbox vs radiobutton??
Explain about Visual basic.NET culture?
Can you please explain the difference between system.string and system.stringbuilder classes?