diff options
Diffstat (limited to 'BlankConsoleLab/CST116 -Lab2-Hill.cpp')
| -rw-r--r-- | BlankConsoleLab/CST116 -Lab2-Hill.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BlankConsoleLab/CST116 -Lab2-Hill.cpp b/BlankConsoleLab/CST116 -Lab2-Hill.cpp index 81d82ec..6e96b6d 100644 --- a/BlankConsoleLab/CST116 -Lab2-Hill.cpp +++ b/BlankConsoleLab/CST116 -Lab2-Hill.cpp @@ -69,9 +69,9 @@ float GetWindChill() { int main() { - char choice = 'n'; + char choice = 'Y'; - while (choice != 'Y') { + while (choice == 'Y') { cout << "Please enter a temperature between -80 to 121 degrees fahrenheit, or -62 and 49.5 degrees celsius." << endl; cout << "Example entries: -32.3 F, 27.8 C\n" << endl; |