Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <ctime>
- #include <cstdlib>
- using namespace std;
- int main()
- { srand(time(0));
- const int N=20;
- int t[N];
- int i;
- for(i=0;i<N;++i)
- {
- t[i]=rand();
- cout<<t[i]<<endl;
- }
- int v, V;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement