Assume that SREC has already been defined. Define a new type, ROSTER, that is a structure consisting of an int field, size, and another field, grades, that is an SREC array with 500 elements.

LANGUAGE: C++

CHALLENGE:

Assume that SREC has already been defined. Define a new type, ROSTER, that is a structure consisting of an int field, size, and another field, grades, that is an SREC array with 500 elements.

SOLUTION:


struct POINT {
    int size;
    SREC grades[500];
};