how to write pseudocode sap the content of two variables using athird variable

1 answer

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.