#include <iostream>
int main()
{ using namespace std;
int age;
cout<<"enter your age"<<endl;
cin>> age;
if (age >=65)
cout<<" you are becoming old" <<endl;
else
cout << "you are not old"<<endl;
return 0;
}
Running as expected – https://ideone.com/tIPzbx
this worked correctly for me .
what editor are you using ?check your compiler