typedef struct { string year; string title; double gross; string lastname; string firstname; int age; char type; int counter; // 0 = L, 1 = Y, 2 = T, 3 = G, 4 = A, 5 = Q, 6 = bad input } PersonData;