write an algo to add two nos
Algorithm of adding two nos
Algorithm :
-
- input : n1,n2 ;
- output : print sum of two no’s using sum .
- declare n1,n2,sum;
- calculate sum using sum=n1+n2 ;
- print sum of two no’s “return sum” .
write an algo to add two nos
Algorithm :