From 53c3f946c66535b31c0b116521342701dd4ceff7 Mon Sep 17 00:00:00 2001 From: Tim Pearse Date: Sat, 8 Oct 2022 13:47:32 -0700 Subject: Change 1 : Debuging Exercises & pseudocode Next Step : See if I did this right. --- CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CST116-Ch6-Debugging') diff --git a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp index 497e2f8..268a22e 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; -- cgit v1.2.3