fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int age = 18;
  6. if (age > 17)
  7. {
  8. cout << "true";
  9. }
  10. else
  11. {
  12. cout << "false";
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0s 4196KB
stdin
Standard input is empty
stdout
true