adspace


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

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category