diff --git a/education/software development/ECE1400/Flowcharts and Pseudocode.md b/education/software development/ECE1400/Flowcharts and Pseudocode.md index cd131cc..951e269 100644 --- a/education/software development/ECE1400/Flowcharts and Pseudocode.md +++ b/education/software development/ECE1400/Flowcharts and Pseudocode.md @@ -252,7 +252,6 @@ classes: { label: Toggle lights } } -direction: right beginning: { shape: oval label: beginning @@ -293,4 +292,35 @@ end: { shape: oval label: end } +``` + + +## Pseudocode +```c +/************************************** +* Function Title: BakeBananaCake +* +* Summary: Bake a banana cake +* +* Inputs: none +* 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 +* End +**************************************/ ``` \ No newline at end of file