include iostream using namespace std int main double cin if -2 cout Th

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#include <iostream>
using namespace std;
int main() {
double x, y;
cin >> x >> y;
if ((y <= 2 * x + 3.) && (y <= 2. / 3. - x / 3) && (y >= -2. / 4. + x / 4)) {
cout << "The point (" << x << ";" << y << ") belongs to the shaded area";
} else cout << "The point (" << x << ";" << y << ") does not belong to the shaded area";
return 0;
}