What compiler are you using?
My only guess is you're using one that (oddly) doesn't support multiple variable initialization on the same line. If dHotel isn't getting initialized to 0, then you could see this problem.
Try putting
double dHotel = 0.0; on its own line.
Additionally, is there a reason for using doubles, rather than floats? Save yourself a little bit of memory.
![Smilie](/tfp/images/smilies/smile.gif)