diff options
| author | tafaar <[email protected]> | 2022-10-05 14:31:30 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-05 14:31:30 -0700 |
| commit | a184f2059afb67a4d6737e08db67564bd195e6e2 (patch) | |
| tree | a780681a2b4ed88e9bf914f27d8ce227493e9286 /CST116-Ch7-Debugging/CST116-Ch7-Debugging-Hill-Flowchart | |
| parent | commit 10 (diff) | |
| download | cst116-ch7-debugging-hill-main.tar.xz cst116-ch7-debugging-hill-main.zip | |
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging-Hill-Flowchart')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging-Hill-Flowchart | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Hill-Flowchart b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Hill-Flowchart new file mode 100644 index 0000000..27d7c6a --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Hill-Flowchart @@ -0,0 +1,14 @@ +SET age = 0; + +PRINT "Enter your age."; +SET age = input; + +IF age is 1 + PRINT "First birthday"; +ELSE IF age is >= 12 AND age is <= 19 + PRINT "Teenager" ENDLINE; +ELSE IF age is < 12 + PRINT "Child" ENDLINE; +ELSE IF age is > 62 + PRINT "Senior" ENDLINE; +ELSE PRINT "Adult" ENDLINE; |