aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch10-Debugging
diff options
context:
space:
mode:
authoralexandra-apetroaei <andra@MSI>2022-10-26 18:42:35 -0800
committeralexandra-apetroaei <andra@MSI>2022-10-26 18:42:35 -0800
commita5a77e888ad9f848e1b5e7c64cf275d626c444f0 (patch)
tree1145afd4b544a55c748a917b34071e336f1a0153 /CST116-Ch10-Debugging
parentfinished (diff)
downloadcst116-ch10-debugging-alexandra-apetroaei-main.tar.xz
cst116-ch10-debugging-alexandra-apetroaei-main.zip
Added psuedo-codeHEADmain
Diffstat (limited to 'CST116-Ch10-Debugging')
-rw-r--r--CST116-Ch10-Debugging/CST116-Ch10-Debugging-Apetroaei.cpp2
-rw-r--r--CST116-Ch10-Debugging/psuedocode ch10- apetroaei.txt11
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.