Why are you assigning to c there? You never use c afterwards. If you made it to another iteration of the loop, the next loop would do
which would overwrite c based upon FA and FB, neither of which are changed in your loop.
That line has multiple errors. You need to think a lot more about that line.