Algorithm to find sum and average of the given series number
Answers
Answered by
1
You can get it on any computer book !
Answered by
0
Answer:
Algorithm to find sum and average of 'n' numbers in an array :
• Initialize an array of size n and average.
• Initialize sum=0.
• Input the elements of the array.
• for(i=0;i<n;i++)
• sum=sum+array[i]
• end of for.
• print sum.
• average=sum/n;
Similar questions