#include #include#include#includeusing namespace std;int main(){ string name,gender; int age=0; cout<<"Please enter your name:"<>age; cin.clear(); cin.ignore(numeric_limits::max(),'n'); //cin.ignore(100,'n'); //cin.sync(); cout<<"Please enter your gender:"<
2.
#include using namespace std;int main(){ int a=0; int b=0; while(cin>>a>>b) cout<