diff options
| author | TheOtherTonyStark <[email protected]> | 2022-10-08 13:52:40 -0700 |
|---|---|---|
| committer | TheOtherTonyStark <[email protected]> | 2022-10-08 13:52:40 -0700 |
| commit | c6beb62d3720727967d86dd49837f1fa8b2c3d9d (patch) | |
| tree | 25c2a9f18752012a52abb87310050dfd2688a586 | |
| parent | First Change (diff) | |
| download | cst116-ch6-debugging-theothertonystark-c6beb62d3720727967d86dd49837f1fa8b2c3d9d.tar.xz cst116-ch6-debugging-theothertonystark-c6beb62d3720727967d86dd49837f1fa8b2c3d9d.zip | |
Second changes
| -rw-r--r-- | CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp | 2 |
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..cfede8f 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 / 9 * (fahrenheit - 32);
cout << fahrenheit << " degrees F = "
<< celcius << " degrees C" << endl;
|