Wyo C++                                                                                                                 Name -
Ch. 10 Wksht #6

Write a function that accepts a struct variable of type Student that is passed by reference. The function must return the string value formed by concatenating the firstName and lastName members of the struct variable with a blank space in between them.

Write out the complete function definition below following the function header provided.

apstring wholeName(Student & studentIn)
// precondition:   studentIn is a struct variable with string members, firstName and lastName
// postcondition:  returns an apstring formed by the firstName and the lastName members of studentIn with a blank space in between