From 98825e377fac996c1c90b8214e9dc66bd113a0be Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Sun, 1 Sep 2024 13:37:42 -0600 Subject: [PATCH] vault backup: 2024-09-01 13:37:42 --- .../ECE1400/Flowcharts and Pseudocode.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) 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