aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Rogers <[email protected]>2022-10-07 18:40:53 -0700
committerTaylor Rogers <[email protected]>2022-10-07 18:40:53 -0700
commit5953c7dec7e17f903ff1daa50069d5c16dfd42ee (patch)
tree03e00c6551047927bf918d1a010a32777c82bc50
parentInsert breakpoint line 54 and add git ignore (diff)
downloadcst116-ch6-debugging-taylorrog-5953c7dec7e17f903ff1daa50069d5c16dfd42ee.tar.xz
cst116-ch6-debugging-taylorrog-5953c7dec7e17f903ff1daa50069d5c16dfd42ee.zip
Answered question 6
-rw-r--r--CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
index 497e2f8..cfdbbd9 100644
--- a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
+++ b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
@@ -12,7 +12,11 @@
* 4) When asked for a temperature, enter 212.
* 5) Verify that the value you entered is stored correctly.
* 6) Step over the conversion calculation. What is the value
-* in Celsius? Is that the correct value? No.
+* in Celsius? Is that the correct value?
+*
+* -32. No.
+*
+*
* 7) Remember your order of precedence. Put parentheses around
* Fahrenheit - 32. This needs to be done before the multiplication.
* 8) Stop debugging and recompile.