#ifndef CONTESTANT_H #define CONTESTANT_H #include using namespace std; //structure definitions struct Name { string last; string first; }; struct Job_info { string title; double salary; }; struct Personal_info { char gender; string haircolor; int age; Job_info job; }; //class definitions class Contestant{ Name name; Personal_info personal; public: // member functions bool readData(ifstream &cfile); void printData(ofstream &dbfile); bool compareAge(int agewanted); }; #endif