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
Name some of the features of C# which are not present in VB.NET?
What do you mean by deserialization?
Can you please explain the difference between authentication and authorization?
Explain the difference between vb 6 and vb.net?
Explain how to send xml file on server using http protocol?
What are the different types of a stream?
Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?
Explain i.tostring method?
Write a VB.Net console program to check whether a number is perfect or not.
What is redim keyword?
How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently
what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.
What is private assembly?
Write program in VB.Net with SQL Server and Crystal Reports to develop a small windows application to add,edit,save, search and print Employee Information and send sourcecode as zip file. empcode : .............. empname : .............. dateofjoin : dd/mm/yyyy dateofbirth : dd/mm/yyyy TableName: EmpMaster EmpCode EmpName DOB DOJ TableName: EmpDocs EmpCode DocNo DocName ExpDate
What are the assembly entry points?