Question #276451

List three possibilities to consider if a function is not working.


Expert's answer

First is something wrong with the arguments the function is getting; a precondition (The "precondition" states the situation under which the function operates correctly) is violated.

Second, something wrong with the function; a postcondition (the "postcondition" states what the function has accomplished when it terminates) is violated.

And third, something wrong with the return value or the way it is being used.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS