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
Political Science,
3 months ago
CBSE BOARD X,
3 months ago
Hindi,
3 months ago
Math,
6 months ago
Math,
10 months ago
English,
10 months ago
Chemistry,
10 months ago