function title = p00_title ( prob )

%*****************************************************************************80
%
%% p00_title() returns the title for any function.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 August 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer PROB, the index of the function.
%
%  Output:
%
%    string TITLE, the function title.
%
  if ( prob == 1 )
    title = p01_title ( );
  elseif ( prob == 2 )
    title = p02_title ( );
  elseif ( prob == 3 )
    title = p03_title ( );
  elseif ( prob == 4 )
    title = p04_title ( );
  elseif ( prob == 5 )
    title = p05_title ( );
  elseif ( prob == 6 )
    title = p06_title ( );
  else
    fprintf ( 1, '\n' );
    fprintf ( 1, 'P00_title - Fatal error!\n' );
    fprintf ( 1, '  Illegal function index PROB = %d\n', prob );
    error ( 'P00_title - Fatal error!' );
  end

  return
end
