I am doing the if program on this website. It wont print out 'you are young", or "you are old". What is wrong with the code, or do I have to have an option enabled in my compiler?
Code://This will give a remark after inputting an age. #include <iostream.h> int main() { int age; cout<<"Please input your age: "; cin>>age; if(age<100) { cout<<"You are pretty young!"; } else if(age==100) { cout<<"You are old"; } else { cout<<"You are really old"; } return 0; }