aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
diff options
context:
space:
mode:
authorKai <[email protected]>2022-10-12 19:31:36 -0700
committerKai <[email protected]>2022-10-12 19:31:36 -0700
commit2d33bb38a761133dee87ba3d355d2d1ae41de262 (patch)
tree962e862f974d181ec6d83fc9ccde9c7fcfc58c7c /CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
parentfirst step (diff)
downloadcst116-ch6-debugging-cobrakai2-2d33bb38a761133dee87ba3d355d2d1ae41de262.tar.xz
cst116-ch6-debugging-cobrakai2-2d33bb38a761133dee87ba3d355d2d1ae41de262.zip
more adjustments
Diffstat (limited to 'CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp')
-rw-r--r--CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
index 497e2f8..a4cede0 100644
--- a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
+++ b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
@@ -51,7 +51,7 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
- celcius = 5 / 9 * fahrenheit - 32;
+ celcius = 5.0 / 9.0 * (fahrenheit - 32);
cout << fahrenheit << " degrees F = "
<< celcius << " degrees C" << endl;