Created
January 19, 2012 16:42
-
-
Save shime/1641075 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(){ | |
srand(time(NULL)); | |
int i = 0; | |
int random; | |
for (i=0;i < 10;i++){ | |
random = rand()%1000; | |
printf("%d\n",random); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment