From c15c9786fcb51a408e316ee057e364f42d1ad3bd Mon Sep 17 00:00:00 2001 From: abd00l4h <114624309+abd00l4h@users.noreply.github.com> Date: Wed, 12 Oct 2022 18:31:58 -0700 Subject: Add files via upload added psuedo code --- .../CST116-Ch7-PsuedoCode-Havaldar.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 CST116-Ch7-Debugging/CST116-Ch7-PsuedoCode-Havaldar.txt 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 -- cgit v1.2.3