clear; clc;

% case (A)
for j = 1 : 5
    for i = 1 : j
        fprintf("*");
    end
    fprintf("\n"); % \n: one of escape character, new line
end

% case (B)
for j = 5 : -1 : 1
    for i = 1 : j
        fprintf("*");
    end
    fprintf("\n");
end

% case (C)


% case (D)