Assignment 3
2. Ask a user for 20 numbers, must store in an array. Determine the mean.
CPE102L
1Q1819Info! Broken links? Email us at gtechphofficial@gmail.com
Code:
start
int sum=0, mean=0
for (int a=0; a<size; a++)
sum = sum+rane[a]
end for
mean=sum/size
print “the mean is “, mean
end