function ch = digit_oct_to_ch ( i )

%*****************************************************************************80
%
%% digit_oct_to_ch() returns the character representation of an octal digit.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 April 2011
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer I, the integer, between 0 and 7.
%
%  Output:
%
%    character CH, the octal representation of the integer.
%
  if ( 0 <= i & i <= 7 )
    ch = char ( '0' + i );
  else
    ch = '?';
  end

  return
end
