#include #include #include int main() { int i; /* ループ用変数 */ srandom(time(NULL)); for (i=0; i<10; i++) { printf("%ld\n", random()%10); } }