#include /* C example: print 10 random numbers. */ #include #include int main() { srand((unsigned)time(NULL)); int i; for (i = 0; i < 10; ++i) { printf("%d\n", rand()); } return EXIT_SUCCESS; }