function value = i4_factorial ( n )

%*****************************************************************************80
%
%% i4_factorial() computes the factorial function.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 August 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the argument.
%
%  Output:
%
%    integer VALUE, the value of the factorial function.
%
  value = prod ( 1 : n );

  return
end

