#include
using namespace std;
int main()
{
double x, y;
cout << "x = ", cin >> x;
cout << "y = ", cin >> y;
if ((x>=-2)&&(x<=2)&&(y>=0)&&(y<=4)||(x>=-4)&&(x<=5)&&(y>=-3)&&(y<0))<br> cout << "true";<br> else cout << "false";<br> return 0;
}
Пример:
x = 3
y = -1
true