Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int broj;
- cin >> broj;
- if(broj >= 0 and broj <= 9) {
- cout << "ednocifren" << endl;
- }
- if(broj >= 10 and broj <= 99) {
- cout << "dvocifren" << endl;
- }
- if(broj > 99) {
- cout << "pogolem od 99" << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement