// SeparatedFn - demonstrated an application separated // into two parts - the fn() part #include #include #include "student.h" double fn(Student& fs) { // since calcTuition() is declared virtual this // call uses the run time type of fs to resolve // the call return fs.calcTuition(); }