Addition of multiple nos :


Algorithm no 1 (with an array):
Step 1 : Declare an array and initialize it
Step 2 : Take size of array in 'size' variable
Step 3 : Declare 'result' variable and initialize it
Step 4 : Add result in array element by their indexes until all array elements are not over
Step 5 : Display result

Algorithm no 2 (without an array):
Step 1 : Declare a 'result','size' and 'no' variables
Step 2 : Input size from user
Step 3 : Input no from user and add no in result
Step 4 : reinitialize no variable
Step 5 : if all nos size is equal to size entered by user ('size' variable) then go to Step 8
Step 6 : else go to Step 3
Step 7 : display result
Step 8 : Stop


(Note : For program of this click here)

OUTPUT  :