From 897e916e82df7928a41e1615c05bd0bad56b9c98 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Sun, 1 Sep 2024 13:32:42 -0600 Subject: [PATCH] vault backup: 2024-09-01 13:32:42 --- .../ECE1400/Flowcharts and Pseudocode.md | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/education/software development/ECE1400/Flowcharts and Pseudocode.md b/education/software development/ECE1400/Flowcharts and Pseudocode.md index 09d34a7..459580c 100644 --- a/education/software development/ECE1400/Flowcharts and Pseudocode.md +++ b/education/software development/ECE1400/Flowcharts and Pseudocode.md @@ -254,6 +254,29 @@ classes: { } beginning: { - shape: + shape: oval + label: beginning +} +beginning -> initialize lights +initialize lights { + 1.label: set the north light to red + 1 -> 2 + 2.label: set the south light to red + 2 -> 3 + 3.label: set the east light to green + 3 -> 4 + 4.label: set the west light to green +} +initialize lights -> 1 +loop-begin: { + shape: step + label: loop indefinitely +} +1.label: wait 30 seconds +1 -> loop-begin + +end: { + shape: oval + label: end } ``` \ No newline at end of file