This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
using namespace std;
string name, city, college, profession, animal_type, petname;
cout << "Enter name= ";
cout << "Enter age= ";
cin >> age;
cin.ignore();//removes unuseful data remained in the buffer after allocating the "int" variable
cout << "Enter the city name= ";...
This is only a preview of the solution. Please use the purchase button to see the entire solution