Josif_tepe

Untitled

Aug 21st, 2025
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #include <iostream>
  2. #include <utility>
  3. using namespace std;
  4.  
  5. int main() {
  6.    
  7.     pair<int, int> p1 = {5, 5};
  8.     pair<int, int> p2 = {5, 5};
  9.    
  10.     if(p1 == p2) {
  11.         cout << "ISTI PAROVI" << endl;
  12.     }
  13.     if(p1 < p2) {
  14.         cout << "p1 e pomal" << endl;
  15.     }
  16.     if(p1 > p2) {
  17.         cout << "p1 e pogolem" << endl;
  18.     }
  19.     return 0;
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment