Computer Science, asked by sahilk7558, 1 month ago

WAJP to input two number and swap it using two variable only​

Answers

Answered by PoisionBabe
0

Explanation:

Algorithm

STEP 1: START.

STEP 2: ENTER x, y.

STEP 3: PRINT x, y.

STEP 4: x = x + y.

STEP 5: y= x - y.

STEP 6: x =x - y.

STEP 7: PRINT x, y.

Done

Answered by manojchauhanma2
0

Answer:

Algorithm

STEP 1: START.

STEP 2: ENTER x, y.

STEP 3: PRINT x, y.

STEP 4: x = x + y.

STEP 5: y= x - y.

STEP 6: x =x - y.

STEP 7: PRINT x, y.

STEP 8: END.

Similar questions