Accept any 2 numbers and exchange their values. Display the values before and after exchanging.
Answers
Answered by
0
Answer:
i am just discussing the concept since you didnot mention which programming language u r using.
Explanation:
input a, b, c = 0
display " value of first number before exchange" + a
display value of second number before exchange"+ b
c=a
a=b
b=c
display a and b
Similar questions