home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a120 / 1.ddi / WATCOM_C / WAT156.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-11  |  456 b   |  20 lines

  1. /*------------------------------------------------------------------*/
  2. /* ╡{ªí└╔ªW║┘: wat156.c                                             */
  3. /*------------------------------------------------------------------*/
  4. #include <stdlib.h>
  5. #include <stdio.h>
  6.  
  7. void main()
  8. {
  9.    int i;
  10.  
  11.    srand(200);
  12.    for(i=0; i<10; i++)
  13.        printf("%d\n", rand()) ;
  14.  
  15.    printf("\n");
  16.    srand(1);
  17.    for(i=0; i<10; i++)
  18.        printf("%d\n", rand()) ;
  19. }
  20.