Control statements
will give us this ability. They are statements that control the flow of a
program's execution based on the results of logical comparisons.
If you want to change selection, open document below and click on "Move attachment"
1.5 Control
1.5 Control
The expressive power of the functions that we can define at this point is very
limited, because we have not introduced a way to make comparisons and to perform
different operations depending on the result of a comparison. <span>Control statements
will give us this ability. They are statements that control the flow of a
program's execution based on the results of logical comparisons.
Statements differ fundamentally from the expressions that we have studied so
far. They have no value. Instead of computing something, executing a control
statement determines what th Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details