Algorithm of adding two nos

write an algo to add two nos

Algorithm :

    • input : n1,n2 ;
    • output : print sum of two no’s using sum .
  1. declare n1,n2,sum;
  2. calculate sum using sum=n1+n2 ;
  3. print sum of two no’s “return sum” .