function c = i4_random_ab ( a, b )

%*****************************************************************************80
%
%% i4_random_ab() returns a scaled pseudorandom I4.
%
%  Discussion:
%
%    The pseudorandom number will be scaled to be uniformly distributed
%    between A and B.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    12 November 2006
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer A, B, the minimum and maximum acceptable values.
%
%  Output:
%
%    integer C, the randomly chosen integer.
%
  c = randi ( [ a, b ], 1 );

  return
end
