aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/CST116-CH6 Debug-results-Crawford.txt
blob: f3da9f732946296f5e75a6444fee01468f0ce6f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.