#include <stdio.h> #include <stdlib.h> #include <time.h> int main (void) { int i; time_t t; srand((unsigned) time(\&t)); for (i = 0; i < 8; i++) { printf ("%i | %i %i | %in", i, rand () %8, rand () %8, rand ()%2); } }