tricky things in FORGETPW

what should be output for 0.0? i’m printing 0 for it but getting wa. what should be output for this case???
or is there anything else i’m missing???

it should be 0 only there might be different bug in your code.

5 Likes