Advertisement
Lukasz_Miskiewicz

s2 zadanie 8

Apr 17th, 2020
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <ctime>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int tab[10];
  9. for(int i=0;i<10;i++)
  10. { tab[i]=1+rand()%(50-2); cout<<tab[i]<<endl;}
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement