function asa183_test04 ( )

%*****************************************************************************80
%
%% asa183_test04() tests r8_uni().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'asa183_test04():\n' );
  fprintf ( 1, '  r8_uni() computes pseudorandom values.\n' );
  fprintf ( 1, '  Two seeds, S1 and S2, are used.\n' );

  s1 = 12345;
  s2 = 34567;

  fprintf ( 1, '\n' );
  fprintf ( 1, '      R                 S1        S2\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '                  %8d  %8d\n', s1, s2 );

  for i = 1 : 10
    [ r, s1, s2 ] = r8_uni ( s1, s2 );
    fprintf ( 1, '  %14f  %8d  %8d\n', r, s1, s2 );
  end

  return
end
