From e9797781618a10d906f3335c32a7af0983562c79 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Sun, 1 Sep 2024 12:42:42 -0600 Subject: [PATCH] vault backup: 2024-09-01 12:42:42 --- .../ECE1400/Flowcharts and Pseudocode.md | 53 +++++++++++-------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/education/software development/ECE1400/Flowcharts and Pseudocode.md b/education/software development/ECE1400/Flowcharts and Pseudocode.md index f0b2dcc..83d1074 100644 --- a/education/software development/ECE1400/Flowcharts and Pseudocode.md +++ b/education/software development/ECE1400/Flowcharts and Pseudocode.md @@ -78,29 +78,29 @@ end: { Assuming a step distance of 2.5 feet. Shady path: -Turn to 270 degrees -Walk 112 steps -Turn to 225 degrees -Walk 124 steps -Turn to 270 degrees -Walk 361 steps -Turn to 0 degrees -Walk 176 steps -Turn to 270 degrees -Walk 62 steps +1. Turn to 270 degrees +2. Walk 112 steps +3. Turn to 225 degrees +4. Walk 124 steps +5. Turn to 270 degrees +6. Walk 361 steps +7. Turn to 0 degrees +8. Walk 176 steps +9. Turn to 270 degrees +10. Walk 62 steps Sunny path: -Turn to 270 degrees -Walk 73 steps -Turn to 0 degrees -Walk 94 steps -Turn to 275 degrees -Walk 467 steps -Turn to 180 degrees -Walk 86 steps -Turn to 270 degrees -Walk 80 steps +1. Turn to 270 degrees +2. Walk 73 steps +3. Turn to 0 degrees +4. Walk 94 steps +5. Turn to 275 degrees +6. Walk 467 steps +7. Turn to 180 degrees +8. Walk 86 steps +9. Turn to 270 degrees +10. Walk 80 steps %% @@ -125,6 +125,8 @@ classes: { label: turn to 270 degrees } } +beginning: {shape: oval} +beginning -> if if: { shape: diamond label: if (shady)\n\nendif @@ -137,7 +139,15 @@ if -> shady: { shady { 1.class: turn-270 1 -> 2 - 2.class: turn0 + 2.label: walk 112 steps + 2 -> 3 + 3.label: turn to 225 degrees + 3 -> 4 + 4.label: waslk 124 steps + 4 -> 5 + 5.class: turn-270 + 5 -> 6 + 6.class: } end: {shape: oval} if -> end @@ -145,5 +155,4 @@ if -> sunny: if sunny path) sunny { 1.class: turn-270 } -beginning: {shape: oval} ``` \ No newline at end of file