Algorithm for finding sum and average of N numbers Step 1: start
Step 2: read the value of N Step 3: initialize sum as 0
Step 3: until I less than or equal to N Repeat
sum = sum + I
Done
Step 4: print sum Step 5: stop