swap two no without using third variable

Answer Posted / tejesh49

dim a as integer
dim b as integer
dim c as integer
a=a+b
b=a-b
a=a-b
print a
print b

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how exactly is the lngColour used?

1790


create a .dll component operation and use created component in another project. required methods events and properties. connect, add,search,data report

2091


Write a script to delete all the files in a folder except one desired file.

930