function l4vec_print_test ( )

%*****************************************************************************80
%
%% L4VEC_PRINT_TEST tests L4VEC_PRINT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 November 2015
%
%  Author:
%
%    John Burkardt
%
  n = 20;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'L4VEC_PRINT_TEST\n' );
  fprintf ( 1, '  L4VEC_PRINT prints an L4VEC.\n' );
  
  lvec = ones ( n, 1 );
  
  lvec(1) = 0;

  for i = 1 : n
    for j = 2 : i - 1
      if ( mod ( i, j ) == 0 )
        lvec(i) = 0;
        break
      end
    end
  end

  l4vec_print ( n, lvec, '  Is I Prime?:' );

  return
end
