Computer Science, asked by astuyd554, 1 year ago

C program to calculate sum and product of all elements in an array by filling up required code in editable section

Answers

Answered by SlakeLime
0
int sum=0;
for(int i =0; i<size; i++)
sum+=a[i];
cout<<sum;
Similar questions