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.

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