Advertisement
W4R1AT

Untitled

Mar 20th, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int liczba = 75;
  5.  
  6. int main()
  7. {
  8. while(1==1){
  9. cin.clear();cin.sync();
  10. cout << "PrzedziaΕ‚ liczb od: " << endl;
  11. int x = 0;
  12. cin >> x;
  13. cout << "Przedzial liczb od: " << endl;
  14. int y = 0;
  15. cin >> y;
  16. liczba = x+((20*time(NULL))+liczba)%(x-y+1);
  17. cout << liczba << endl;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement