diff options
Diffstat (limited to 'CST116-Ch6-Debugging/CST116-CH6 Debug-results-Crawford.txt')
| -rw-r--r-- | CST116-Ch6-Debugging/CST116-CH6 Debug-results-Crawford.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CST116-Ch6-Debugging/CST116-CH6 Debug-results-Crawford.txt b/CST116-Ch6-Debugging/CST116-CH6 Debug-results-Crawford.txt new file mode 100644 index 0000000..f3da9f7 --- /dev/null +++ b/CST116-Ch6-Debugging/CST116-CH6 Debug-results-Crawford.txt @@ -0,0 +1,17 @@ +Enter temperature in Fahrenheit: 212 +212 degrees F = 0 degrees C + +C:\Users\Lloyd Crawford\source\repos\cst116-ch6-debugging-19-Ruin\CST116-Ch6-Debugging\x64\Debug\CST116-Ch6-Debugging.exe (process 24168) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + +This is the code before proper debugging. It is due to a integer calculation of 5/9. This is fixed by making it 5.0/9.0 + +Enter temperature in Fahrenheit: 212 +212 degrees F = 100 degrees C + +C:\Users\Lloyd Crawford\source\repos\cst116-ch6-debugging-19-Ruin\CST116-Ch6-Debugging\x64\Debug\CST116-Ch6-Debugging.exe (process 11948) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + +This is the proper response once the code is fixed.
\ No newline at end of file |