josiftepe

Untitled

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