diff options
| author | Joe Traver <[email protected]> | 2022-10-11 21:34:10 -0700 |
|---|---|---|
| committer | Joe Traver <[email protected]> | 2022-10-11 21:34:10 -0700 |
| commit | 52b4489658d50dbac6d0f2bc0a2693b7eacb1032 (patch) | |
| tree | cf51d6d04fdd5e5893084a5ca3989fa80e0c2d5d | |
| parent | Added output txt file (diff) | |
| download | cst116-ch7-debugging-joetraver30-52b4489658d50dbac6d0f2bc0a2693b7eacb1032.tar.xz cst116-ch7-debugging-joetraver30-52b4489658d50dbac6d0f2bc0a2693b7eacb1032.zip | |
Completed pseudo code
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-traver-pseudo-code.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-traver-pseudo-code.txt b/CST116-Ch7-Debugging/CST116-Ch7-traver-pseudo-code.txt new file mode 100644 index 0000000..ec6c88d --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-traver-pseudo-code.txt @@ -0,0 +1,24 @@ +print: + Enter your age + +input = age + +if age = 1 + then + print: First Birthday + +else if age >= 12 and <= 19 + then + print: Teenager + +else if age < 12 + then + print: Child + +else if age > 62 + then + print: Senior + +else + print: Adult +
\ No newline at end of file |