% divisors.m
%  Print the divisors of numbers between 10 and 20.
%
for i = 10 : 20
  fprintf ( 'Divisors of %d:', i );
  for j = 1 : i
    if ( mod ( i, j ) == 0 )
      fprintf ( ' %d', j );
    end
  end
  fprintf ( '\n' );
end
