%Script simpleLoopEg2
%What do these program fragments print?  TRY IT IN MATLAB!

disp('Fragment 1')
for k= 4:6
    disp(k)
    k= 9;
    disp(k)
end


disp('Fragment 2')
disp('A')
for k= 5:1:2
    disp(k)
end
disp('B')