fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n;
  6. cin >> n;
  7. if (n==9){
  8. cout << "n is greather than 9";
  9.  
  10. }else cout << "n is not 9";
  11. // your code goes here
  12. return 0;
  13. }
Success #stdin #stdout 0s 5312KB
stdin
6
stdout
n is not 9