Computer Science, asked by ajithsowmiya1432002, 8 months ago

write an algorithm, flow chart,pseudocode to find the swapping of two numbers​

Answers

Answered by AdityamBharti
2

Answer:

Algorithm : b. without using a third variable

Step 1 : Start.

Start 2 : READ num1, num2.

Start 3 : num1 = num1 + num2.

Start 4 : num2 = num1 - num2.

Start 5 : num1 = num1 - num2.

Start 6 : PRINT num1, num2.

Start 7 : Stop

Answered by mananmadani53
2

Answer:

Algorithm : b. without using a third variable

Step 1 : Start.

Start 2 : READ num1, num2.

Start 3 : num1 = num1 + num2.

Start 4 : num2 = num1 - num2.

Start 5 : num1 = num1 - num2.

Start 6 : PRINT num1, num2.

Start 7 : Stop.

Explanation:

hope it will help you

please mark as brainlist

Similar questions