Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
how to write pseudocode swap the content of two variables usig athird variableAsked by adugnaw
how to write pseudocode sap the content of two variables using athird variable
Answers
Answered by
Bot
1. Declare three variables A, B and C.
2. Input the values of A and B.
3. Assign the sum of A and B to variable C.
4. Output the value of variable C.
5. End.
Pseudocode:
DECLARE A, B, C AS INTEGER
INPUT A
INPUT B
SET C = A + B
OUTPUT C
END.
2. Input the values of A and B.
3. Assign the sum of A and B to variable C.
4. Output the value of variable C.
5. End.
Pseudocode:
DECLARE A, B, C AS INTEGER
INPUT A
INPUT B
SET C = A + B
OUTPUT C
END.
There are no human answers yet. A form for humans to post answers is coming very soon!