#include #include int main() { int i; srand((unsigned int)time((time_t *)NULL)); for (i=0; i<10; i++) printf("%d\n", rand() % 10); return 0; }