aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Havaldar.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Havaldar.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Havaldar.cpp
index 100454d..0fdecdc 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Havaldar.cpp
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Havaldar.cpp
@@ -15,7 +15,7 @@
* 6) Why did the value in age change?
* The evaluation in the if statement makes it so that age is set to 1 and doesn't check if age is 1
* basically do "==" not "="
-* 7) Fix the problem and repeat Steps 2 � 5 to verify the
+* 7) Fix the problem and repeat Steps 2 – 5 to verify the
* problem was corrected.
* 8) Stop debugging.
*
@@ -28,8 +28,9 @@
* 4) Verify that 25 is still stored in age.
* 5) Step over the else if.
* 6) Why is the program going to print "Teenager" for an age of 25?
-* If the age is greater than equal to 12 or less than equal 19 it will classify the age as teenager. It should be if age is greater than equal to 12 and less than equal to 19
-* 7) Fix the problem and repeat Steps 1 � 5 to verify the
+* If the age is greater than equal to 12 or less than equal 19 it will classify the age as teenager. It should be if age is greater than equal to 12
+ and less than equal to 19
+* 7) Fix the problem and repeat Steps 1 – 5 to verify the
* problem was corrected.
* 8) Stop debugging.
* 9) Remove Breakpoint1.
@@ -75,4 +76,4 @@ int main()
cout << "Adult" << endl;
}
return 0;
-} \ No newline at end of file
+}