34,333
edits
Changes
m
→The #define Statement
<tt>double liquidTemp = 99.61 - ambientTemp;</tt>
The above code works but doesn't do much to explain why the number 99.61 is used. Another problem with this approach is that if one day the program needs to be modified to use a different temperature for the boiling point of water (like I said, this is a point of contention) you will have to change every instance of 99.61 in your code, while making sure you don't also change any instances of 99.61 that aren't related to the boiling point of water.
A much better approach is to assign the value a human friendly name using the #define directive: