Is double part of the iostream library? I'm on my cell and I'm pretty noob so I don't know for sure, but try to add this after your iostream:
Also, fixedpoint and showpoint are not defined...
Last edited on
half =/2; in line 10, I think what you meant was
half = number / 2;
Also, in line 11, use "fixed" not "fixedpoint"
I really do think double is part of iostream library isn't it?
can anyone enlighten please?
double is a built in type