Advertisement
Josif_tepe

Untitled

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