diff options
Diffstat (limited to 'Ch7 Pseudocode.txt')
| -rw-r--r-- | Ch7 Pseudocode.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Ch7 Pseudocode.txt b/Ch7 Pseudocode.txt new file mode 100644 index 0000000..d7d1357 --- /dev/null +++ b/Ch7 Pseudocode.txt @@ -0,0 +1,15 @@ +define age equal to 0
+
+display "Enter your age"
+input age
+
+if age is equal to 1
+display "First birthday"
+else if age is greater then or equal to 12 and age is less than or equal to 19
+display "Teenager"
+else if age is less than 12
+display "Child"
+else if age is greater than 62
+display "Senior"
+else
+display "Adult"
\ No newline at end of file |