fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int x;
  7. cout << "please input a integer!";
  8. cin >> x;
  9. if(x == 0)
  10. cout << "hello word!";
  11. return 0;
  12. }
Success #stdin #stdout 0s 4408KB
stdin
Standard input is empty
stdout
please input a integer!