Advertisement
Josif_tepe

Untitled

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