fork download
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4.  
  5. int main() {
  6. int a;
  7. cout << "Vnesi cel broj: ";
  8. cin >> a;
  9. if (a >= -9 && a <= 9)
  10. if (a > 0)
  11. cout << "Brojot e ednocifren " << endl;
  12. else
  13. if (a < 0)
  14.  
  15. cout << "Brojot e 0." << endl;
  16. else
  17. cout << "Ova ne e ednocifren broj" << endl;
  18. system("PAUSE");
  19.  
  20.  
  21.  
  22. return 0;
  23. }
Success #stdin #stdout #stderr 0.01s 5312KB
stdin
4
stdout
Vnesi cel broj: Brojot e ednocifren 
stderr
sh: 1: PAUSE: not found