function month_name = month_to_month_name ( m )

%*****************************************************************************80
%
%% month_to_month_name() returns the name of a month.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 June 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, the month index.
%
%  Output:
%
%    string MONTH_NAME, the month name.
%
  name = [ ...
    'January  '; 'February '; 'March    '; 'April    '; ...
    'May      '; 'June     '; 'July     '; 'August   '; ...
    'September'; 'October  '; 'November '; 'December ' ];

  if ( m < 1 || 12 < m )

    month_name = '?????????';

  else

    month_name = name(m,:);

  end

  return
end
