function i4_choose_test ( )

%*****************************************************************************80
%
%% I4_CHOOSE_TEST tests I4_CHOOSE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    27 October 2014
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4_CHOOSE_TEST\n' );
  fprintf ( 1, '  I4_CHOOSE evaluates C(N,K).\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '     N     K    CNK\n' );
  fprintf ( 1, '\n' );
 
  for n = 0 : 4
    for k = 0 : n
      cnk = i4_choose ( n, k );
      fprintf ( 1, '  %4d  %4d  %4d\n', n, k, cnk );
    end
  end

  return
end
