#include "stdafx.h" #include using namespace std; struct StudentRecord { int ID; double GPA; int numCredits; int numCoursesTakenSoFar; int letterGrade[1000]; }; int main() { struct StudentRecord alice, john; StudentRecord s1; StudentRecord allStudents[100]; alice.ID = 111111; alice.GPA = 4.0; for (int i = 0; i < alice.numCoursesTakenSoFar; i++) alice.letterGrade[i] = 1; john.numCredits = 3; s1 = alice; int totalCredits = 0; for (int j = 0; j < 100; j++) { totalCredits += allStudents[j].numCoursesTakenSoFar; } return 0; }