fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n;
  6.  
  7. cout << "enter n:"<< endl;
  8. cin >>n;
  9.  
  10. if (n>=10 && n<=99 && n%2==0)
  11. cout <<"yeas"<<endl;
  12. else
  13. cout <<"no"<<endl;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
enter n:
no