Advertisement
Josif_tepe

Untitled

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