diff --git a/education/software development/ECE1400/Flowcharts and Pseudocode.md b/education/software development/ECE1400/Flowcharts and Pseudocode.md index 076a52e..34b251e 100644 --- a/education/software development/ECE1400/Flowcharts and Pseudocode.md +++ b/education/software development/ECE1400/Flowcharts and Pseudocode.md @@ -252,13 +252,13 @@ classes: { label: Toggle lights } } - beginning: { shape: oval label: beginning } beginning -> initialize lights initialize lights { + grid-columns: 1 1.label: set the north light to red 1 -> 2 2.label: set the south light to red @@ -272,14 +272,20 @@ loop { label: loop indefinitely begin-loop: { shape: step - label: begin loop + label: begin iteration } begin-loop -> 1 1.label: wait 30 seconds 1 -> 2 2.label: toggle lights - end loop + end-loop: { + shape: step + label: end iteration + } + 2 -> end-loop + end-loop -> begin-loop } +loop -> end: the heat death of the universe end: { shape: oval label: end