function c8vec_nint_test ( )

%*****************************************************************************80
%
%% c8vec_nint_test() tests c8vec_nint().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    28 February 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'c8vec_nint_test():\n' );
  fprintf ( 1, '  c8vec_nint() rounds a C8VEC\n' );

  a = c8vec_uniform_01 ( n );
 
  s = 5.0 + i * 3.0;
  a(1:n) = s * a(1:n);

  c8vec_print ( n, a, '  The initial vector:' );

  a = c8vec_nint ( n, a );

  c8vec_print ( n, a, '  The rounded vector:' );

  return
end
