c program to exchange the value of 2 variables without using third variable algorithm

C program to exchange the value of 2 variables without using third variable(flowchart)
  1. start 
  2. input x,y
  3. x=X+y
  4. y=x-y
  5. x=x-y
  6. print x y
  7. stop

Comments

Popular posts from this blog