Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- using namespace std;
- int main()
- {
- int tab[7];
- srand(time(NULL));
- for(int i=0;i<7;i++)
- {
- tab[i]=rand()%11+15;
- cout << tab[i] << " ";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement