diff options
| author | prestonderek <[email protected]> | 2022-11-06 19:24:49 -0800 |
|---|---|---|
| committer | prestonderek <[email protected]> | 2022-11-06 19:24:49 -0800 |
| commit | 69201d3cef0aea7b3b0397ee79e5830f45adcaf9 (patch) | |
| tree | 23a7e2d15a315474bab713ba27db468626daaff2 /BlankConsoleLab/BlankConsoleLab.cpp | |
| parent | Commit all for finish of project (diff) | |
| download | cst116-lab2-prestonderek-69201d3cef0aea7b3b0397ee79e5830f45adcaf9.tar.xz cst116-lab2-prestonderek-69201d3cef0aea7b3b0397ee79e5830f45adcaf9.zip | |
Comments added
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index c7b68f7..bda03a3 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -18,6 +18,7 @@ float mph; float newFar; float chill; +//The following const are for the while loops to control what user can enter const int celmin = -62; const float celmax = 49.5; const int farmin = -80; @@ -25,6 +26,7 @@ const int farmax = 121; const int mphmin = 0; const int mphmax = 231; +//to check for user to enter celcius or fahrenheit string check; const string celcheck = "c"; |