JakubJaneczek

Zadanie 8

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