Put spaces around '*' on these lines
Compiler thinks of them as of dereference operator here.
Last edited on
spaces are free.
¿how is `ans' defined?
MiiNiPaa the spaces make no difference
ans is a single double, not an array. So you cannot apply subscript operator to it.
Last edited on
right on, i thought i had changed that into an array earlier but i must have forgotten to save it!!
Thanks a million!!
Cheers