Computer Science, asked by danie7, 1 year ago

write an algorithm flow chart to print to inter change the value of two variables using a third variable​

Answers

Answered by satyaajeet
1

Answer:

Explanation:

int a,b,c;

a=1;

b=2;

print(a,b) #output a=1,b=2

#swapping algorithm using third variable

c=a;

a=b;

b=c;

print(a,b) # output a=2,b=1

Answered by Anonymous
18

Answer:

For beginners, it is always recommended to first write algorithm and draw flowchart for solving a problem .

Hope it will be helpful :)

Similar questions