/******************************************************************************************
person.h
    prototypes for class person
******************************************************************************************/
#include <string>

// class definition
class person {
    public:
        string first;
        string last;
        int age;
};

// prototypes
int indexOfYoungest(person [], int size);
int indexOfOldest(person [], int size);
int AverageAge(person [], int size);
void showYoungerThan(person [], const int size, const int age);
void showOlderThan(person [], const int size, const int age);
void readFile(string filename, person [], const int maximum, int& size);
void showPeople(person [], const int size);