I am new to this board and C++, so I do not even know what encase code in  means, but I will try. I have an assignment I have been working on for a week. I have consulted my book and the web, but I have been unable to figure out the solution. I have most of the code completed, except I do not get the correct answer from my calculation.
Everything works except the amount due is incorrect. It is returning as $4e-039. I think it has something to do with the float and decimal precision, but I have tried everything I know, which is not much and cannot figure it out. Please help!