aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-18 14:42:28 -0700
committertafaar <[email protected]>2022-10-18 14:42:28 -0700
commit171d41b68daac6353d5c101dacd68d137d3a14b4 (patch)
treef5a159171440897c5ae509ab8ab889fbf63e3665
parentanswered 2.5 (diff)
downloadcst116-ch9-debugging-hill-171d41b68daac6353d5c101dacd68d137d3a14b4.tar.xz
cst116-ch9-debugging-hill-171d41b68daac6353d5c101dacd68d137d3a14b4.zip
answered 3.6
-rw-r--r--CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp
index 1653a98..44709a4 100644
--- a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp
+++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp
@@ -56,6 +56,9 @@
* 4) Step into the PrintResults function.
* 5) Age is 7300? Not even Ralph is that old.
* 6) Why did the values for both variables change?
+*
+* Because the values are being passed in the wrong order
+*
* 7) Stop debugging and fix the error.
*
* Debugging Exercise 4