Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //P59875 Cap avall
- #include <iostream>
- using namespace std;
- int main() {
- int x , y, aux;
- cin >> x >> y;
- if (x > y) {
- aux = x;
- x = y;
- y = aux;
- }
- for(int i = y ; i >= x; --i){
- cout << i << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement