Computer Science, asked by AyushiAhuja3571, 8 months ago

Algorithm to find sum and average of the given series number

Answers

Answered by chukchukerail
1

You can get it on any computer book !

Answered by zakiabasheer2016
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