About Lesson
Algorithm to add two numbers
The detailed algorithm steps to add two numbers are as follows:
1. START.
2. DECLARE two variables: num1 and num2
3. GET two numbers from the user and store them in num1 and num2.
4. DECLARE a variable: result
5. ADD the two variables and store the sum in the result.
6. PRINT the result.
7. STOP.
Join the conversation