21 lines
219 B
C
21 lines
219 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
|
|
int main(void) {
|
|
|
|
int random, i = 0;
|
|
|
|
srand(time(NULL));
|
|
|
|
while (i <= 9) {
|
|
|
|
random = rand();
|
|
|
|
printf("%d\n", random);
|
|
|
|
i++;
|
|
}
|
|
|
|
return 0;
|
|
}
|