diff options
1 files changed, 0 insertions, 16 deletions
| -rw-r--r-- | Sem. 02/Solutions/05. Chainsaw.cpp | 16 |
diff --git a/Sem. 02/Solutions/05. Chainsaw.cpp b/Sem. 02/Solutions/05. Chainsaw.cpp deleted file mode 100644 index 68940e0..0000000 --- a/Sem. 02/Solutions/05. Chainsaw.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include <iostream> -using namespace std; - -int main() -{ - int a, b, c, d, e; - cin >> a >> b >> c >> d >> e; - - if ((a <= b && b >= c && c <= d && d >= e) - || (a >= b && b <= c && c >= d && d <= e)) - { - cout << "Yes"; - } - else - cout << "No"; -}
\ No newline at end of file |
