fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a;
  6. cin >> a;
  7. if ( a>=0)
  8. { cout << (" положительное");
  9. } else cout << ("отрицательное");
  10. return 0;
  11. }
Success #stdin #stdout 0s 15240KB
stdin
 0
stdout
 положительное