#include "sys/types.h" #include "stdio.h" #define MAX 200 #define N 20 main() { int array[N],r; int n = 0; int count_check,count_gen ,i,j; for(j=0;j<10;j++,printf("\n")) { srand(j); for (count_gen=0;count_gen<=MAX;count_gen++) { r = rand()%N; for ( count_check = 0; count_check < n; count_check++ ) { if ( r == array[count_check] )break; }// end for count_check. if ( count_check == n ) array[n++] = r; }// ...