Enter name: a
Enter GPA: 3
Enter major: 2
Name: a
GPA: 3
Major: 2
Name: a
GPA: 3
Major: 2
Enter name: b
Enter GPA: 3
Enter Major: 2
Name: b
GPA: 3
Major: 2
Enter name: c
Enter GPA: 3
please enter major: 2
Enter name: d
Enter GPA: 3
please enter major: 2
c 3 2
d 3 2
this is after change in call of printstudents into main