Showing posts with label Logical programs. Show all posts
Showing posts with label Logical programs. Show all posts

Swap without temperary variable

.....
....
{
a=a+b;
b=a-b;
a=a-b;
}
.....
...