chapter 9: Student_info struct with member function