Swap the Values of Two Variables
Learn to write pseudocode and create a flowchart for swapping the values of two variables.
Problem statement
You have two variables n1 and n2 containing two numbers, and you want to swap the values that they hold.
The main steps in problem-solving
Understand the problem
Carefully read the problem statement and, think about the desired output. The output should be the two variables with their values ...