Lab 12

4/11/05

Task: Take the program you wrote for Lab 11. Modify it so that, rather than using a struct, your program uses a class for storing the information. Your class should have two public functions - a setInfo() function that sets the information for a particular student when given the appropriate parameters, and a print() function that prints out a grade sheet for that student. The variables containing name, ID, gender, and major should all be private variables.

Purpose: The primary purpose of this lab is to introduce classes.