summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCEOofOogaBooga <[email protected]>2022-11-08 21:08:33 -0800
committerCEOofOogaBooga <[email protected]>2022-11-08 21:08:33 -0800
commit5ac201f63b94577136a3763475de42381425ba35 (patch)
tree7966aa90d1b7f1e5cf170afed8e6b1c11428d08f
parentE (diff)
downloadcst116-lab2--trinh--5ac201f63b94577136a3763475de42381425ba35.tar.xz
cst116-lab2--trinh--5ac201f63b94577136a3763475de42381425ba35.zip
more fixes
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp2
-rw-r--r--Pseudocode.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index 9b0368b..e6b96c7 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -55,7 +55,7 @@ int main()
while ((MinW > wspeed) || (MaxW < wspeed))
{
- cout << "Input a wind speed in mph that is greater than " << MinW << " but less than " << MaxW << ": ";
+ cout << "Input a wind speed in that is greater than " << MinW << " but less than " << MaxW << ": ";
cin >> wspeed;
cout << endl;
}
diff --git a/Pseudocode.txt b/Pseudocode.txt
index a865cab..b7ea98f 100644
--- a/Pseudocode.txt
+++ b/Pseudocode.txt
@@ -18,4 +18,5 @@ or if it isnt fahrenheit and the min is more than -62 and the max is less than 4
input temperature
if not fahrenheit, use convertCelciustoFahrenheit function
-while minW is greater than wspeed and maxW is less than wspeed \ No newline at end of file
+while minW is greater than wspeed and maxW is less than wspeed,
+output input a wind speed in mph that is greater than minW but less than maxW