My compiler isn't compiling whenever i want to get input from the user (cin) but it does when i want to display output (cout).
If i write the program the following programs.
int age;
cout<<"enter your age: \n";
cin>>age;
it only prints out enter your name: with out collecting input from the user. Looking forward to hearing from you with help in relation to my problem. Thankyou
My compiler isn't compiling whenever i want to get input from the user (cin) but it does when i want to display output (cout). If i write the program the following programs. int age; cout<<"enter your age: \n"; cin>>age; it only prints out enter your name: with out collecting input from the user. Looking forward to hearing from you with help in relation to my problem. Thankyou