aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-10-12 17:34:47 -0700
committerprestonderek <[email protected]>2022-10-12 17:34:47 -0700
commitd9a4a59591c5ea8cbe90409e6681c7bc95c041e3 (patch)
tree8b880e960ffcb9d1afd77e7bec55622af6dba487 /CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
parentAdded final comment. (diff)
downloadcst116-ch6-debugging-prestonderek-main.tar.xz
cst116-ch6-debugging-prestonderek-main.zip
Commit for Pseudocode and Output filesHEADmain
Diffstat (limited to 'CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp')
-rw-r--r--CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
index 049edcc..98fe015 100644
--- a/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
+++ b/CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp
@@ -48,8 +48,8 @@ using std::endl;
int main()
{
- float fahrenheit = 0;
- float celcius = 0;
+ float fahrenheit = 0.0;
+ float celcius = 0.0;
cout << "Enter temperature in Fahrenheit: ";
cin >> fahrenheit;