Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <ctime>
  3. #include <cstdlib>
  4. using namespace std;
  5.  
  6. int main()
  7. { srand(time(0));
  8. const int N=20;
  9. int t[N];
  10. int i;
  11. for(i=0;i<N;++i)
  12. {
  13. t[i]=rand();
  14. cout<<t[i]<<endl;
  15. }
  16. int v, V;
  17.  
  18.  
  19.  
  20.  
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement