First page Back Continue Last page Graphics
THREE COMPARISONS
The name of the function is Student_info::read instead of just read.
Since this function is a member of a Student_info object, we don't need to pass a Student_info object as an argument.
We access the data elements of our object directly. (Instead of s.midterm as done previously, we just use midterm).