Thread
:
Tip : Swap values of two variables without using a third variable
View Single Post
#
4
(
permalink
)
05-29-2008, 07:22 AM
garima
Junior Member
18
posts this year.
the lights are on!
User is on their way up.
Join Date: May 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
i hope following is good method:-
a=a*b;
b=a/b;
a=a/b;
__________________________________________________ _________________
Web Site Design
Last edited by garima; 05-29-2008 at
07:25 AM
.
garima
View Public Profile
Send a private message to garima
Find all posts by garima