17 lines
285 B
C
17 lines
285 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
srand( 982 );
|
||
|
for( i = 1; i < 10; ++i ) {
|
||
|
printf( "%d\n", rand() );
|
||
|
}
|
||
|
srand( 982 ); /* start sequence over again */
|
||
|
for( i = 1; i < 10; ++i ) {
|
||
|
printf( "%d\n", rand() );
|
||
|
}
|
||
|
}
|