//Cecilia Rangel CSC5 Chapter 3, P. 148, #22
//
/**************************************************************
 *
 * Compute a word game 
 * ____________________________________________________________
 * This program computes a story based on the users input
 *
 * 
 *___________________________________________________________
 * INPUT
 * 		name      : user's name
 *		age       : user's age
 *		city      : user's city
 *		college   : user's college
 *		profesion : user's profesion
 *		animal    : user's animal
 *		petName   : user's pet's name
 * OUTPUT
 *		Story: from users input
 *
 **************************************************************/
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;

int main() {
	string name;       
	string age;       
	string city;        
	string college;    
	string profession; 
	string animal;     
	string petName;    


	cout << "Enter your name\n";
	cin >> name;
	cout << "Enter your age\n";
	cin >> age;
	cout << "Enter the name of your city\n";
	cin >> city;
	cout << "Enter the name of your college\n";
	cin >> college;
	cout << "Enter your profession or what you want to work as\n";
	cin >> profession;
	cout << "Enter the type of pet you own\n";
	cin >> animal;
	cout << "Enter our pet's name\n";
	cin >> petName; 


	cout << "There once was a person named " << name;
	cout << " who lived in " << city << ". At the age of\n";
	cout << age << ", " << name << " went to college at ";
	cout << college << ". " << name << " graduated and went";
	cout << " to work\nas a " << profession << ". Then, ";
	cout << name << " adopted a(n) " << animal << " named "; 
	cout << petName << ". They\nboth lived happily ever after!";  
	return 0;
}