Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int liczba = 75;
- int main()
- {
- while(1==1){
- cin.clear();cin.sync();
- cout << "PrzedziaΕ liczb od: " << endl;
- int x = 0;
- cin >> x;
- cout << "Przedzial liczb od: " << endl;
- int y = 0;
- cin >> y;
- liczba = x+((20*time(NULL))+liczba)%(x-y+1);
- cout << liczba << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement