From edd0bf0e235a8d648cdbf50ad1168ef09600e7e1 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Sun, 1 Sep 2024 13:57:42 -0600 Subject: [PATCH] vault backup: 2024-09-01 13:57:42 --- .../ECE1400/Flowcharts and Pseudocode.md | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/education/software development/ECE1400/Flowcharts and Pseudocode.md b/education/software development/ECE1400/Flowcharts and Pseudocode.md index 951e269..b47984f 100644 --- a/education/software development/ECE1400/Flowcharts and Pseudocode.md +++ b/education/software development/ECE1400/Flowcharts and Pseudocode.md @@ -298,9 +298,9 @@ end: { ## Pseudocode ```c /************************************** -* Function Title: BakeBananaCake +* Function Title: RunStopLights * -* Summary: Bake a banana cake +* Summary: Operate stoplights for a 4 way intersection * * Inputs: none * Outputs: none @@ -308,19 +308,15 @@ end: { * Pseudocode * * Begin -* Add 3c flour -* Add 1 1/2 tps baking soda -* Add 1/2 tsp cinnamon -* Add 1/2 tsp salt -* Stir -* Add 3 mashed bananas -* Add 1 tsp lemon juice -* Stir -* Add 3 eggs -* Add 2tsp vanilla extract -* Stir a final time -* Bake @ 350F for 50 min -* Cool for 1 hour +* Set the north light to red +* Set the south light to red +* Set the east light to green +* Set the west light to green +* Loop indefinitely +* Wait 30 seconds +* Toggle lights +* EndLoop * End **************************************/ -``` \ No newline at end of file +``` +