Ответы
Ответ дал:
0
#include <iostream>
using namespace std;
int main() {
double x, y;
cout << "x = ", cin >> x;
cout << "y = ", cin >> y;
if ((y<=7*x/6+17/6)&&(y<=-2*x+6)&&(y>=-0.1*x-3.5))
cout << "Yes";
else cout << "No";
return 0;
}
Пример:
x = 1
y = 2
Yes
using namespace std;
int main() {
double x, y;
cout << "x = ", cin >> x;
cout << "y = ", cin >> y;
if ((y<=7*x/6+17/6)&&(y<=-2*x+6)&&(y>=-0.1*x-3.5))
cout << "Yes";
else cout << "No";
return 0;
}
Пример:
x = 1
y = 2
Yes
Вас заинтересует
2 года назад
2 года назад
7 лет назад
7 лет назад
9 лет назад
10 лет назад