Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <time.h>
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int i;
- main()
- {
- srand(time (NULL));
- for (i=0; i<30; i++)
- {
- cout << rand()%10 << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement