RosettaCodeData/Task/Loops-For/MATLAB/loops-for-1.m

8 lines
110 B
Mathematica
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
for i = (1:5)
output = [];
for j = (1:i)
output = [output '*'];
end
disp(output);
end