#include using namespace std; #include "Student.hpp" template T& maximum(T a[]) { T& max = a[0]; for(int i=1; imax) max = a[i]; return max; } int main() { Student george("George", 1234), kate("Kate", 12345), mary("Mary", 12346); Student students[] = { george, kate, mary }; cout << "max('George','Kate', 'Mary'): " << maximum(students) << endl; }