diff options
| author | TheOtherTonyStark <[email protected]> | 2022-10-08 13:54:45 -0700 |
|---|---|---|
| committer | TheOtherTonyStark <[email protected]> | 2022-10-08 13:54:45 -0700 |
| commit | a4e7ee34a38e66adf2266612f735a6ecffbcdce4 (patch) | |
| tree | 962e862f974d181ec6d83fc9ccde9c7fcfc58c7c | |
| parent | Second changes (diff) | |
| download | cst116-ch6-debugging-theothertonystark-a4e7ee34a38e66adf2266612f735a6ecffbcdce4.tar.xz cst116-ch6-debugging-theothertonystark-a4e7ee34a38e66adf2266612f735a6ecffbcdce4.zip | |
Third Change
| -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 cfede8f..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;
|