fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4. #define N 10
  5. int array[N];
  6. int main()
  7. {
  8.  
  9. void losowe(int array[])
  10. {
  11. srand(time(0));
  12. int i;
  13. for(i=0;i<N;i++)
  14. {
  15. array[i]=-10+rand()%21;
  16. printf("%d",array[i]);
  17. }
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0s 4276KB
stdin
Standard input is empty
stdout
Standard output is empty