diff options
| -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. |