srand (time(NULL)); // seed the random number generator with the current time for (i=0; i<10; i++) printf("Random number: %d\n",rand()); return 0; } ...
確定! 回上一頁