write an algorithm and draw a flowchart to swap two numbers.
Answers
Answered by
2
Explanation:
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.
Pseudocode. ...
Implementation. ...
Output.
Similar questions