Exchange Values of Two Variables (दो Variables के Values को Exchange करना ):- Question:- Write an algorithm and flowchart to exchange the values of two variables.
Example:
Before Exchange:
A = 10
B = 20
After Exchange:
A = 20
B = 10
Logic / Explanation
TEMP = A → Store the value of A temporarily.
A = B → Copy the value of B into A.
B = TEMP → Copy the original value of A into B.
solution:- Algorithm:-
Flow chart :-

Explanation:-
