From abcdbee97218e6309213a623653a54ed10945072 Mon Sep 17 00:00:00 2001 From: Joseph Williams Date: Thu, 29 Sep 2022 16:33:11 -0700 Subject: Finished. --- CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp') diff --git a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp index 497e2f8..560539a 100644 --- a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp +++ b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp @@ -1,3 +1,6 @@ +// Name: Joe Williams +// Course: CST116 + /******************************************************************** * File: CST116-Ch6-Debugging.cpp * @@ -51,7 +54,7 @@ int main() // Breakpoint 1 // Put a breakpoint on the following line - celcius = 5 / 9 * fahrenheit - 32; + celcius = static_cast(5) / 9 * (fahrenheit - 32); cout << fahrenheit << " degrees F = " << celcius << " degrees C" << endl; -- cgit v1.2.3