diff options
| author | EdwardFine <[email protected]> | 2022-10-05 14:33:19 -0700 |
|---|---|---|
| committer | EdwardFine <[email protected]> | 2022-10-05 14:33:19 -0700 |
| commit | 70be84c05f134ff4e57e1b10676083c105ba8780 (patch) | |
| tree | f1e86543b54f7f920c10da8c9a2dacd44cc7ca2f /CST116-CH7-Debug-Fine-Pseudocode.txt | |
| parent | Updated (diff) | |
| download | cst116-ch7-debugging-edwardfine-main.tar.xz cst116-ch7-debugging-edwardfine-main.zip | |
Diffstat (limited to 'CST116-CH7-Debug-Fine-Pseudocode.txt')
| -rw-r--r-- | CST116-CH7-Debug-Fine-Pseudocode.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CST116-CH7-Debug-Fine-Pseudocode.txt b/CST116-CH7-Debug-Fine-Pseudocode.txt new file mode 100644 index 0000000..b20abe2 --- /dev/null +++ b/CST116-CH7-Debug-Fine-Pseudocode.txt @@ -0,0 +1,15 @@ +Enter your age: 10 +Child + +C:\Users\edfin\Source\Repos\cst116-ch7-debugging-EdwardFine\CST116-Ch7-Debugging\x64\Debug\CST116-Ch7-Debugging.exe (process 19216) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + +Pseudo Code + +Read command prompt input and assign input as to int age. +Check if age =1, if true then print out First Birthday. +else check if age >= 12 and age <= 19, if true then print out Teenager. +Else check if age <12, if true then print out Child. +Else check if age >62, if true then print out Senior. +If none is true, then print out Adult.
\ No newline at end of file |