You are experiencing this issue because your wrote the prototype for the function as:
double calculateRetail(double, double);
but then when you implemented the function, you wrote:
double CalculateRetail (double wholesale_c, double markup_p)
C and C++ are case sensitive so it doesn't see CalculateRetail and calculateRetail as the same. You probably meant to write CalculateRetail as calculateRetail.