diff options
Diffstat (limited to 'CST116-Ch7-Debugging/Ch7 Pseudocode.txt')
| -rw-r--r-- | CST116-Ch7-Debugging/Ch7 Pseudocode.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/Ch7 Pseudocode.txt b/CST116-Ch7-Debugging/Ch7 Pseudocode.txt new file mode 100644 index 0000000..1c62012 --- /dev/null +++ b/CST116-Ch7-Debugging/Ch7 Pseudocode.txt @@ -0,0 +1,15 @@ +Ch. 7 Pseudocode
+
+Begin
+ When ran
+ Age = 0
+Input
+ Age = Your input
+If Age:
+ Is 1 = outputs "First Birthday
+ Is below 12 = outputs "Child"
+ Is between 13 and 19 = outputs "Teenager"
+ Is between 19 and 62 = outputs "Adult"
+else:
+ output = "Senior"
+End
\ No newline at end of file |