fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int l;
  7. cin>>l;
  8. if (l > 18){
  9. cout<<"HELL YEAAAH🤘"<<endl;
  10. }else if (l < 18) {
  11. cout<<"GET OUT"<<endl;
  12. }else{
  13. cout<<"okay, but do not drink to much"<<endl;
  14. }
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5260KB
stdin
19
stdout
HELL YEAAAH🤘