#include using namespace std; struct Date{ int month; int day; int year; }; struct Transcript{ string classes[100]; double grades[100]; int class_count; double gpa; }; struct Student{ string name; int id; string major; Transcript tran; int age; Date dob; }; Student mergeStudent(Student s1, Student s2); void printStudent(Student s); void initializeStudent(Student& st); int main() { const int n=100;//You may wish to make this smaller for testing. Student freshmen[n]; for(int i=0; i>st.id; getline(cin, dummy); cout<<"enter a major"<>st.age; cout<<"Enter birthday month, day, year as numbers: "<>st.dob.month>>st.dob.day>>st.dob.year; //Fill in stuff for transcript } Student mergeStudent(Student s1, Student s2){ Student ret = {"no name", 0, ""}; if(s1.id==s2.id){ ret.id = s1.id; if(s1.age>s2.age){ ret.major = s1.major; } else { ret.major = s2.major; } if(s1.name.length()>s2.name.length()) ret.name = s1.name; else ret.name = s2.name; //Fill in stuff for transcript } return ret; }