Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- using namespace std;
- int a,b,c,d;
- int main()
- {
- int tab[10];
- for(int i=0;i<10;i++)
- {
- tab[i]=1+rand()%(50-2);
- cout << tab[i]<<endl;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment