driver.cpp

#include "fam_member.h"

#include "cleaner.h"

#include "house.h"

#include <iostream>

#include <ctime>

#include <cstdlib>

using namespace std;

int main()

{

srand(time(NULL));

Cleaner m ("Marge");

FMember f;

House h (25,42,m,f);

cout << h << endl << m << endl << f << endl;;

cout << "Calling calc stress!" << endl;

m.calc_stress(h);

cout << m << endl;

return 0;

}