%
function loopTest(N)
%loops and flow control
for n=1:N
    if mod(n,2)==0 && mod(n, 3)==0
        str=[num2str(n) ' is divisible by 2 AND 3'];
    elseif mod(n, 2)==0
        str=[num2str(n) ' is divisible by 2'];
    elseif mod(n, 3)==0
        str=[num2str(n) ' is divisible by 3'];
    else
        str=[num2str(n) ' is NOT divisible by 2 or 3'];
    end
    disp(str);
end
end
%}