diff options
| author | alexandra-apetroaei <andra@MSI> | 2022-10-26 18:42:35 -0800 |
|---|---|---|
| committer | alexandra-apetroaei <andra@MSI> | 2022-10-26 18:42:35 -0800 |
| commit | a5a77e888ad9f848e1b5e7c64cf275d626c444f0 (patch) | |
| tree | 1145afd4b544a55c748a917b34071e336f1a0153 | |
| parent | finished (diff) | |
| download | cst116-ch10-debugging-alexandra-apetroaei-a5a77e888ad9f848e1b5e7c64cf275d626c444f0.tar.xz cst116-ch10-debugging-alexandra-apetroaei-a5a77e888ad9f848e1b5e7c64cf275d626c444f0.zip | |
| -rw-r--r-- | CST116-Ch10-Debugging/CST116-Ch10-Debugging-Apetroaei.cpp | 2 | ||||
| -rw-r--r-- | CST116-Ch10-Debugging/psuedocode ch10- apetroaei.txt | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Apetroaei.cpp b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Apetroaei.cpp index d60b4a2..64aa238 100644 --- a/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Apetroaei.cpp +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Apetroaei.cpp @@ -84,7 +84,7 @@ void FunctionTwo(const int varX[], const int varY[], const int varZ[]); void PrintFunction(const int varX[], const int varY[], const int varZ[]); -const int SIZE = 5; // Notice how we used the const here! +const int SIZE = 10; // Notice how we used the const here! int main() { diff --git a/CST116-Ch10-Debugging/psuedocode ch10- apetroaei.txt b/CST116-Ch10-Debugging/psuedocode ch10- apetroaei.txt new file mode 100644 index 0000000..2d1b02d --- /dev/null +++ b/CST116-Ch10-Debugging/psuedocode ch10- apetroaei.txt @@ -0,0 +1,11 @@ +Read in variable X, Y, Z. +Assign integer size to 5 which will be changed to 10 later. + +Set variable name. +Prompt user to enter first and last name. + +Set variable X to range from 0-9 +Set variable Y to range from 100-109. +Set variable Z to range from 100-116 going up by two each time. + +Display variables X, Y, Z to user as a chart including a welcome message. |