Website Summary Files Commits Branches @commit @diff @stats
path: root / Week04 / Exercise01.cpp
blob: 6f5b781742d5cc8ab832d333331ad0fe943d6336 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>

int main() {
    float x, y;
    std::cin >> x >> y;

    if (x < y) {
        std::cout << x << ' ' << y;
    }
    else {
        std::cout << y << ' ' << x;
    }

    return 0;
}