function c = lon_char ( i )

%*****************************************************************************80
%
%% lon_char() returns a character for negative or positive longitude.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    19 May 2016
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer I, is negative for negative longitude, and 
%    positive for positive longitude.
%
%  Output:
%
%    character LON_CHAR, is 'W' for negative longitude, and
%    'E' for positive longitude.
%
  if ( i < 0 )
    c = 'W';
  elseif ( 0 < i )
    c = 'E';
  else
    c = '?';
  end

  return
end
