#include #include #include "PrisonerT.h" using namespace std; int main () { PrisonerT a,b; cout << "Enter the first prisoner's information " << endl; a = GetPrisoner(); cout << endl; cout << "Enter the second prisoner's information " << endl; b = GetPrisoner(); cout << endl; cout << "*************************************" << endl; cout << endl; cout << "Prisoner A information" << endl; PrintPrisoner(a); cout << endl; cout << "Prisoner B information" << endl; PrintPrisoner(b); cout << endl; cout << "*************************************" << endl; cout << "Comparing the prisioners" << endl; switch(ComparePrisoner(a,b)) { case -1: PrintPrisoner(a); cout << endl; PrintPrisoner(b); break; case 0: cout << "The prisoners are the same person" << endl; PrintPrisoner(a); break; case 1: PrintPrisoner(b); cout << endl; PrintPrisoner(a); break; default: cout << "Error, I got a " << ComparePrisoner(a,b) << endl; } return 0; }