You are on page 1of 1

k=1;

suma=0;
while k<=10
suma=suma+k;
k=k+1;
end
fprintf('Suma10=%i\n',suma)

You might also like