Update 'srand()함수와 time()함수를 사용한 숫자 6개를 출력.c' #1

Closed
Ghost wants to merge 1 commits from <deleted>:master into master
  1. 2
      srand()함수와 time()함수를 사용한 숫자 6개를 출력.c

2
srand()함수와 time()함수를 사용한 숫자 6개를 출력.c

@ -13,7 +13,7 @@ int main(void)
printf("srand() Ãâ·Â : "); printf("srand() Ãâ·Â : ");
for (cnt = 1; cnt <= 6; cnt++) for (cnt = 1; cnt <= 6; cnt++)
printf("%d", 1 + (rand() % NUM));
printf("\n%d: %d", cnt, 1 + (rand() % NUM));
printf("\n"); printf("\n");
return 0; return 0;

Loading…
Cancel
Save