My rand() gives out the same number (GPA) for every student.
srand(time(NULL));
int gpa = 0 + (rand() % (10 - 0 + 1));
for (int i = 0; i < number; i++) {
cout << "Enter the student #" << i + 1 << "'s name: ";
getline(cin, pStudents[i]); cout << endl;
}
for (int i = 0; i < number; i++) {
cout << "Student " << pStudents[i] << " has GPA of: " << gpa << endl;
}