aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116-Ch7-PsuedoCode-Havaldar.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-PsuedoCode-Havaldar.txt')
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-PsuedoCode-Havaldar.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-PsuedoCode-Havaldar.txt b/CST116-Ch7-Debugging/CST116-Ch7-PsuedoCode-Havaldar.txt
new file mode 100644
index 0000000..7b078ae
--- /dev/null
+++ b/CST116-Ch7-Debugging/CST116-Ch7-PsuedoCode-Havaldar.txt
@@ -0,0 +1,20 @@
+Set age as 0
+
+Ask user for their age
+
+Set user input as age
+
+Check if the user's age is equal to 0
+ If so, say "First Birthday"
+
+if not, then check if they are between the ages of 12 and 19
+ If so, then say they are a Teenager
+
+if not, then check if they are under 12
+ If so, then say they are a Child
+
+if not, then check if they are above the age of 62
+ If so, then say they are a Senior
+
+if none of these
+ Then say that they are an Adult \ No newline at end of file