function mono_print ( m, f, title )

%*****************************************************************************80
%
%% mono_print() prints a monomial.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 September 2014
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, the spatial dimension.
%
%    integer F(M), the exponents.
%        
%    string TITLE, a title.
%
  fprintf ( 1, '%s', title );
  fprintf ( 1, 'x^(' );
  for i = 1 : m
    fprintf ( 1, '%d', f(i) )
    if ( i < m )
      fprintf ( 1, ',' )
    else
      fprintf ( 1, ').\n' );
    end
  end

  return
end

