Functions and Parameters C++ - Reading Assignment