Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <time.h>
  3. #include <stdlib.h>
  4.  
  5. void main(void){
  6. int v[100];
  7. int i;
  8.  
  9. srand(clock());
  10.  
  11. for(i=0; i<100; i++)
  12. v[i] = rand();
  13.  
  14. for(i=0; i<100; i++)
  15. printf("%d, ", v[i]);
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement