From 2413ee7c467ae17c782f3a3a5ea11f890942cb53 Mon Sep 17 00:00:00 2001 From: Trevor Bouchillon Date: Sun, 2 Oct 2022 13:49:52 -0700 Subject: Debug Done --- CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (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..d946bf5 100644 --- a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp +++ b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp @@ -1,6 +1,9 @@ /******************************************************************** * File: CST116-Ch6-Debugging.cpp * +* Trevor Bouchillon +* Chap 6 Debugging +* * General Instructions: Complete each step before proceeding to the * next. * @@ -51,8 +54,7 @@ int main() // Breakpoint 1 // Put a breakpoint on the following line - celcius = 5 / 9 * fahrenheit - 32; - + celcius = (float(5) / float(9)) * (fahrenheit - 32); cout << fahrenheit << " degrees F = " << celcius << " degrees C" << endl; -- cgit v1.2.3