function niederreiter2_test03 ( )

%*****************************************************************************80
%
%% niederreiter2_test03() tests exor().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    27 February 2014
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'niederreiter2_test03():\n' );
  fprintf ( 1, '  exor() returns the exclusive OR of two integers.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '     I     J     EXOR(I,J)\n' );
  fprintf ( 1, '\n' );

  for test = 1 : 10

    i = randi ( [ 0, 100 ] );
    j = randi ( [ 0, 100 ] );
    k = exor ( i, j );

    fprintf ( 1, '%6d %6d %6d\n', i, j, k );

  end 

  return
end
