The program first reads integer participantCount from input, representing the number of pairs of inputs to be read. Each pair has a string and an integer. One Participant object is created for each pair and added to vector participantList. Write the PrintParticipantsInRange() function in the Appointments class using Print() to output all the Participant objects with age between 28 and 78, both inclusive. Ex: If the input is: 4 Eve 78 Dan 12 Ari 28 Eli 21 then the output is: Participant: Eve, Age: 78 Participant: Ari, Age: 28 Note: The vector has at least one element. CODE: #include <iostream> #include <vector> using namespace std; class Participant { public: void SetDetails(string newName, int newAge); int GetAge() const; void Print() const; private: string name; int age; }; void Participant::SetDetails(string newName, int newAge) { name = newName; age = newAge; } int Participant::GetAge() const { return age; } void Participant::Print() const { cout << "Participant: " << name << ", Age: " << age << endl; } class Appointments { public: void InputParticipants(); void PrintParticipantsInRange(); private: vector<Participant> participantList; }; void Appointments::InputParticipants() { int participantCount; unsigned int i; Participant currParticipant; string currName; int currAge; cin >> participantCount; for (i = 0; i < participantCount; ++i) { cin >> currName; cin >> currAge; currParticipant.SetDetails(currName, currAge); participantList.push_back(currParticipant); } } /*write code here */ int main() { Appointments appointments; appointments.InputParticipants(); appointments.PrintParticipantsInRange(); return 0; }.