Monday, October 7, 2013

ALGORITHM TO PRINT ADDITION OF TWO NUMBERS

STEP 1.               sum <-- 0, num1 <-- 0, num2 <-- 0
STEP 2.                Print “Enter two Numbers”
STEP 3.               Read num1, num2
STEP 4.              sum <-- num1 + num2
STEP 5.               Print  sum

No comments:

Post a Comment