diff options
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt new file mode 100644 index 0000000..6ab6439 --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt @@ -0,0 +1,19 @@ +set age to 1 + +print "Enter your age: " +input into age + +if age is 1: + print First Birthday + +else if age is 12-19 + print "Teenager" + +else if age is less than 12 + print "Child" + +else if age is greater than 62 + print "Senior" + +else + print "Adult"
\ No newline at end of file |