httpsmediacheggcdncommedia2Fd622Fd6229e13b93242b198b1a3c3a77
https://media.cheggcdn.com/media%2Fd62%2Fd6229e13-b932-42b1-98b1-a3c3a77b1fe8%2Fimage MUST BE DONE IN MATLAB
Solution
sum = 0;
total = 1;
x=input(\'Total numbers :\');
y = 1;
while y<=x;
num = input(\'Enter the number:\');
y = y+1;
total = total*num;
sum = sum+num;
end
Average = sum/x
Geometric_mean = total^(1/x)
