#include <iostream>
#include <string>

using namespace std;

int main()
{
   string dogName;
   int actualAge;
   int humanAge;

   cout << "How many years old is your dog?" << endl;
   cin >> actualAge ;
   cin.ignore(1000, '\n');


   cout << "what is your dogs name?" << endl;
//   cin >> dogName;
   getline(cin, dogName);

  // cout << "How many years old is your dog?"  << endl;
  // cin >> actualAge;

   humanAge = actualAge  * 7;

   cout << dogName << "'s age is approximately " << 
        "equivalent to a " << humanAge << " year old human."
        << endl;

//testing cerr

   cerr << "Hello World! My dogs name is " << dogName << endl;

//testing clog

   clog << "Hello World again! My dogs name is " << dogName << endl;
   return 0;

} 
