#Boolean 29
#include <iostream>
#include <cmath>
using namespace std;
int main (){
double x, y, x1, y1, x2, y2;
bool a;
cout << "x = ";
cin >> x;
cout << "y = ";
cin >> y;
cout << "x1 = ";
cin >> x1;
cout << "y1 = ";
cin >> y1;
cout << "x2 = ";
cin >> x2;
cout << "y2 = ";
cin >> y2;
a = (x > x1 && x < x2) and (y > y1 && y < y2);
cout << boolalpha << a << endl;
return 0;
}
171 · Nachricht #Boolean 29
20. März 2023In der Nähe im Feed
@diese Nachricht
@