Advertisement
WiktoriaRatajczyk

Zadanie1

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