Josif_tepe

Untitled

Dec 25th, 2025
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.  
  8.    int a;
  9.    cin >> a;
  10.  
  11.    if(a%2==0){
  12.     cout << "PAREN" <<endl;
  13.    }
  14.    if(a%2==1){
  15.     cout<< "NEPAREN" <<endl;
  16.  
  17.    }
  18.  
  19.  
  20.  
  21. }
  22.  
  23.  
  24.  
Advertisement
Add Comment
Please, Sign In to add comment