English
Open in Telegram

Message#Boolean 39

20 March 2023
@
#Boolean 39 #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 = abs(x1 - x2) == abs(y1 - y2) and ((x1==x2 && y1!=y2) or (y1==y2 && x1!=x2)); cout << boolalpha << a << endl; return 0; }
219 ·

Nearby in the feed

@@cpp_codesss#Boolean 37 #include <iostream> #include <cmath> using namespace std; int main (){ int x1, y1, x2, y2; bool a; cout << "x1 = "; cin >> x1; cout << "y1 = "; cin @@cpp_codesss#Boolean 38 #include <iostream> #include <cmath> using namespace std; int main (){ int x1, y1, x2, y2; bool a; cout << "x1 = "; cin >> x1; cout << "y1 = "; cin
this message
@@cpp_codesss#Boolean 40 #include <iostream> #include <cmath> using namespace std; int main (){ int x1, y1, x2, y2; bool a; cout << "x1 = "; cin >> x1; cout << "y1 = "; cin @@cpp_codesssPhoto
CC++ vs PythonC++ vs Python@cpp_vs_python · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count