function c = pentomino_symbol ( i )

%*****************************************************************************80
%
%% pentomino_symbol() returns the symbol of a pentomino.
%
%  Discussion:
%
%    Legal symbols are F, I, L, P, N, T, U, V, W, X, Y, Z.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 May 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer i: the index for a pentomino, from 1 to 12.
%
%  Output:
%
%    char c: the symbol for a pentomino.
%
  s = 'FILPNTUVWXYZ';

  if ( 1 <= i && i <= 12 )
    c = s(i);
  else
    fprintf ( 1, '\n' );
    fprintf ( 1, 'pentomino_symbol- Fatal error!\n' );
    fprintf ( 1, '  Illegal pentomino index %d.\n', i );
    error ( 'pentomino_symbol - Fatal error!');
  end

  return
end

