I am trying to debug a recursive function used to validate user input and return a value when the input is OK. The function looks like this:
double load_pric
You're not using the return value of the recursive call. You need to do:
return load_price();