//This passes variables as arguments to a function affirm_me

#include <iostream>   
#include <string>

using namespace std;

void affirm_me( int n );

int main()
{

  int how_bad;

  cout << "Tell me how badly you feel (enter an int from 1-10):\n";
  cin >> how_bad;

  affirm_me(how_bad);

  cout << "I hope that made you feel better.  How do you feel now (again 1-10):\n";
  cin >> how_bad;

  affirm_me(how_bad);

  return 0;
}

void affirm_me( int n ){
  int count;

  count = 1;

  while(count <= n){
    cout << "You're very special and people like you!\n";

    count++;
  }
}
