Algo
Algo
Example 1
Step 1: Start
Step 2: Input first number as P
Step 3: Input second number as Q
Step 3: Set Sum=P+Q
Step 5: Print Sum
Step 6: End.
Example 2
Step 1: Start
Step 2: Input value of first number in P
Step 3: Input value of second number in Q
Step 4: Set Temp = P
Step 5: Set P = Q
Step 6: Set Q= Temp
Step 7: Print P and Q
Step 8: End.