Загрузка данных
#include <iostream> using namespace std; int main() { double x, y; cin >> x >> y; if (y >= 0 && y <= x + 4 && y <= 4 - x) cout << "True"; else cout << "False"; return 0; }