fork download
  1. #include <iostream>
  2. using namespace std ;
  3. int main (){
  4. int a=5;
  5. if (a>0){cout << "positive" ;
  6. }
  7. else {
  8. cout<< 'negative';}
  9. }
Success #stdin #stdout 0.01s 5324KB
stdin
Standard input is empty
stdout
positive