% hw014.m
% John Burkardt
% Print multiplication tables for numbers between P and Q.
%
p = input ( '  Enter P: ' );
q = input ( '  Enter Q: ' );

for i = p : q
  for j = p : q
    fprintf ( ' %4d', i * j )
  end
  fprintf ( '\n' )
end
