Write an algorithm to swap two numbers
Answers
Answered by
3
Answer:
Swapping Two Numbers Using Variable in C
1.
Algorithm. Lets find out how should we draw a solution step-by-step − START Var1, Var2, Temp Step 1 → Copy value of Var1 to Temp Step 2 → Copy value of Var2 to Var1 Step 3 → Copy value of Temp to Var2 STOP.
2.
Pseudocode. ...
3.
Implementation. ...
4.
Output.
Step-by-step explanation:
Your answer
BRAINLIST
Similar questions