fork(1) download
  1. #include <iostream>
  2. int main()
  3. { using namespace std;
  4. int age;
  5. cout<<"enter your age"<<endl;
  6. cin>> age;
  7. if (age >=65)
  8. cout<<" you are becoming old" <<endl;
  9. else
  10. cout << "you are not old"<<endl;
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
65
compilation info
prog.cs(2,0): error CS1024: Wrong preprocessor directive
prog.cs(2,0): error CS1525: Unexpected symbol `int'
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty