#include "Student.h"
#include <iostream>
using std::cout;
using std::endl;

int main() {
   Person *list [4]; 

   list[0] = new Person ("Sarah", false);
   list[1] = new Person ("Josh", true);
   list[2] = new Student ("Yvonne", false, "sophomore", 1.14);
   list[3] = new Student ("Larry", true, "senior", 3.74);

   for(int i=0; i<4; ++i){
      cout << *list[i] << endl;
      delete list[i];
   }

}
