diff --git a/education/software development/ECE1400/Flowcharts and Pseudocode.md b/education/software development/ECE1400/Flowcharts and Pseudocode.md index 459580c..076a52e 100644 --- a/education/software development/ECE1400/Flowcharts and Pseudocode.md +++ b/education/software development/ECE1400/Flowcharts and Pseudocode.md @@ -267,14 +267,19 @@ initialize lights { 3 -> 4 4.label: set the west light to green } -initialize lights -> 1 -loop-begin: { - shape: step +initialize lights -> loop +loop { label: loop indefinitely + begin-loop: { + shape: step + label: begin loop + } + begin-loop -> 1 + 1.label: wait 30 seconds + 1 -> 2 + 2.label: toggle lights + end loop } -1.label: wait 30 seconds -1 -> loop-begin - end: { shape: oval label: end