#include #include int main ( void ) { int i ; printf("srand ? "); if(scanf("%d",&i)==1) { srand(i); } for ( i=0; i< 10 ; i++) { printf("%d,",rand()); } putchar('\n'); system("pause"); return 0 ; }