Write an algorithm to find sum and average of N numbers.

1 year ago
C Programming

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


Step 4: print sum Step 5: stop

Sanisha Maharjan
Jan 21, 2022
More related questions

Questions Bank

View all Questions