fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int a;
  7. cin >> a;
  8.  
  9. if (a <= 12 and a > 0)
  10. {
  11. cout << "True";
  12.  
  13. }
  14. else {cout << "False"; }
  15.  
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5276KB
stdin
30
stdout
False