function lab4_loop( num )
%LAB4_LOOP Lab4 printer with a for loop
%   Prints a pattern of stars for Lab4

for i = -num:num
    if i ~= -1
        stars = ones(1,abs(i))*42;
        disp(char(stars))
    end
end

end

