function res = for2(size)
% FOR2 creates a  multiplication table matrix the size of the parameter.
res =zeros(size);
for c = 1:size
               for r = 1:size
                     res(r,c)=r*c;
               end
end
return
end