I dont get it. Every program ive made so far in Dev-Cpp compiler always closes after I put an interger or a value.
This is the only compiler that I can understand, microsoft one is too annoying...Code:#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; }
Am I coding something wrong?
Thanks,
Gutrat