Feb 16, 2012 at 2:59am UTC
and advise on how to go about it?
I tried to get help at our computer lab but the guy working was too busy playing solitaire to really help with anything......
Last edited on Mar 5, 2012 at 5:03am UTC
Feb 16, 2012 at 3:42am UTC
Why not stay away from floating point numbers and use integer types for everything? That way you will not have any rounding errors to care about.
Feb 16, 2012 at 3:47am UTC
cause I have to deal with tax percentages and my instructor wants 2 digits correctly rounded after the decimal.
*Your program is to eliminate any rounding error. Make sure all dollar and cents values have only 2 digits after the decimal place – even in memory.
Last edited on Feb 16, 2012 at 3:55am UTC