diff options
| author | prestonderek <[email protected]> | 2022-10-12 17:34:47 -0700 |
|---|---|---|
| committer | prestonderek <[email protected]> | 2022-10-12 17:34:47 -0700 |
| commit | d9a4a59591c5ea8cbe90409e6681c7bc95c041e3 (patch) | |
| tree | 8b880e960ffcb9d1afd77e7bec55622af6dba487 /CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp | |
| parent | Added final comment. (diff) | |
| download | cst116-ch6-debugging-prestonderek-main.tar.xz cst116-ch6-debugging-prestonderek-main.zip | |
Diffstat (limited to 'CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp')
| -rw-r--r-- | CST116-Ch6-Debugging/CST116-Ch6-Debugging.cpp | 4 |
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;
|