Problem
a. Write the necessary declarations for a record type to contain the following information about a student. Name (string) Social security number (string) Class (freshman, sophomore, junior, senior) GPA Sex (male, female)
b. Declare a record variable of the type in part a.
c. Write a program segment that prints the information in each component of the variable you declared in part b.
d. Write the necessary declarations for a direct file called Roll that contains records of the type in part a.