Please enable JavaScript to use CodeHS

AP CSA: MOD-2.C.4

CodeHS Lessons

A postcondition is a condition that must always be true after the execution of a section of program code. Postconditions describe the outcome of the execution in terms of what is being returned or the state of an object.

1.7 Commenting Your Code
11.3 Documentation with Comments
1.7 Commenting Your Code
11.3 Documentation with Comments
5.3 Documentation with Comments
3.7 Commenting Your Code
1.7 Commenting Your Code