Section 2.1 WriteConditional-Subgoals
Subgoals for writing conditionals.
-
Define how many mutually exclusive paths are needed
-
Order paths from most restrictive to least restrictive
-
Write conditional statement with Boolean expression
-
Follow with true path including action in indentation
-
Repeat 3 and 4 until all paths are included
-
(Optional) Follow with else path including action in indentation
You have attempted 1 of 1 activities on this page.