Preconditions and Postconditions
Example
What are Preconditions and Postconditions?
Another Example
Always make sure the precondition is valid . . .
. . . so the postcondition becomes true at the function’s end.
A Quiz
On the other hand, careful programmers also follow these rules:
Advantages of Using Preconditions and Postconditions
Summary
THE END
Email: mgv@cs.sc.edu
Home Page: http://www.cs.sc.edu