can i know how to want the user to insert only words without numbers and vice verse?
i want limit it to insert either words or numbers or else ask the user to reenter the value

cout<<"Please enter your name:";
cin.getline (name,50);

cout<<"Please enter your nick name:";
cin.getline (nickname,50);

cout<<"Please enter your hobby:";
cin.getline (hobby,50);

cout<<"Please enter your phone number:";
cin>>phone_number;

cout<<"Please enter your birthdate(ddmmyyyy):";
cin>>birthdate;

cout<<"Please enter your identity card number:";
cin>>ic_number;

thx 4 helping...