function n = p00_n ( problem )

%*****************************************************************************80
%
%% P00_N returns the number of equations for a problem.
%
%  Discussion:
%
%    If N is positive, then N is the only value for the number
%    of equations for this problem.
%
%    If N is negative, then the absolute value of N is the
%    MINIMUM possible value for the number of equations for
%    this problem, and all larger values may also be used.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 October 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer PROBLEM, the problem number.
%
%  Output:
%
%    integer N, the number of variables and equations.
%
  if ( problem == 1 )
    n = p01_n ( );
  elseif ( problem == 2 )
    n = p02_n ( );
  elseif ( problem == 3 )
    n = p03_n ( );
  elseif ( problem == 4 )
    n = p04_n ( );
  elseif ( problem == 5 )
    n = p05_n ( );
  elseif ( problem == 6 )
    n = p06_n ( );
  elseif ( problem == 7 )
    n = p07_n ( );
  elseif ( problem == 8 )
    n = p08_n ( );
  elseif ( problem == 9 )
    n = p09_n ( );
  elseif ( problem == 10 )
    n = p10_n ( );
  elseif ( problem == 11 )
    n = p11_n ( );
  elseif ( problem == 12 )
    n = p12_n ( );
  elseif ( problem == 13 )
    n = p13_n ( );
  elseif ( problem == 14 )
    n = p14_n ( );
  elseif ( problem == 15 )
    n = p15_n ( );
  elseif ( problem == 16 )
    n = p16_n ( );
  elseif ( problem == 17 )
    n = p17_n ( );
  elseif ( problem == 18 )
    n = p18_n ( );
  elseif ( problem == 19 )
    n = p19_n ( );
  elseif ( problem == 20 )
    n = p20_n ( );
  elseif ( problem == 21 )
    n = p21_n ( );
  elseif ( problem == 22 )
    n = p22_n ( );
  elseif ( problem == 23 )
    n = p23_n ( );
  else
    n = 0
    fprintf ( 1, '\n' );
    fprintf ( 1, 'P00_N - Fatal error!\n' );
    fprintf ( 1, '  Illegal problem number = %d\n', problem );
    error ( 'P00_N - Fatal error!' );
  end

  return
end
