#Boolean 36
#include <iostream>
#include <cmath>
using namespace std;
int main (){
int x1, y1, x2, y2;
bool a;
cout << "x1 = ";
cin >> x1;
cout << "y1 = ";
cin >> y1;
cout << "x2 = ";
cin >> x2;
cout << "y2 = ";
cin >> y2;
a = (x1==x2 && y1!=y2) or (y1==y2 && x1!=x2);
cout << boolalpha << a << endl;
return 0;
}
201 · Mensagem#Boolean 36
20 de março de 2023Por perto no feed
@esta mensagem
@