diff --git a/education/software development/ECE1400/Flowcharts and Pseudocode.md b/education/software development/ECE1400/Flowcharts and Pseudocode.md index b689a9c..4bab9d9 100644 --- a/education/software development/ECE1400/Flowcharts and Pseudocode.md +++ b/education/software development/ECE1400/Flowcharts and Pseudocode.md @@ -191,26 +191,37 @@ sunny { * Function Title: WalkToTscFromEngr * * Summary: Walk from the west entrance of the engineering building -* to the southeast entrace of the taggart std -* Inputs: none +* to the southeast entrace of the taggart student center, using either +* a shady or sunny path +* +* Inputs: shady (boolean) * Outputs: none ************************************** * 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 +* If (shady) then +* 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 +* Else + 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 * End **************************************/ ``` \ No newline at end of file