function p00_title_test ( )

%*****************************************************************************80
%
%% P00_TITLE_TEST prints the title of each problem.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    09 February 2009
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'P00_TITLE_TEST\n' );
  fprintf ( 1, '  P00_TITLE prints the title for each problem.\n' );
%
%  Get the number of problems.
%
  problem_num = p00_problem_num ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '   Problem Title\n' );
  fprintf ( 1, '\n' );

  for problem = 1 : problem_num

    title = p00_title ( problem );

    fprintf ( 1, '        %2d:  "%s"\n', problem, title );

  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'P00_TITLE_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
