summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei F <[email protected]>2022-11-09 16:15:45 -0800
committerAndrei F <[email protected]>2022-11-09 16:15:45 -0800
commitcb43c7dc6473edcf58b3975feb4fee4e14e822ba (patch)
treeb890a2c9bb852014b640afb3c8ce49aedaa67a2f
parentFinished code (diff)
downloadcst116-lab2-florea-cb43c7dc6473edcf58b3975feb4fee4e14e822ba.tar.xz
cst116-lab2-florea-cb43c7dc6473edcf58b3975feb4fee4e14e822ba.zip
Added output file
-rw-r--r--BlankConsoleLab/CST116-Lab2-Florea.cpp2
-rw-r--r--CST116-Lab2-Florea-Output.txt9
-rw-r--r--CST116-Lab2-PseudoCode-Florea.txt0
-rw-r--r--LabResults.txt1
-rwxr-xr-xa.outbin42610 -> 42610 bytes
5 files changed, 10 insertions, 2 deletions
diff --git a/BlankConsoleLab/CST116-Lab2-Florea.cpp b/BlankConsoleLab/CST116-Lab2-Florea.cpp
index 9603d61..cce3729 100644
--- a/BlankConsoleLab/CST116-Lab2-Florea.cpp
+++ b/BlankConsoleLab/CST116-Lab2-Florea.cpp
@@ -46,7 +46,7 @@ int main()
temp_decision = toupper(temp_decision);
cout << "For " << temperature << " degrees " << temp_decision << " and " << wind_speed << " mph";
- cout << " the wind chill is: " << chill;
+ cout << " the wind chill is: " << chill << endl;
}
diff --git a/CST116-Lab2-Florea-Output.txt b/CST116-Lab2-Florea-Output.txt
new file mode 100644
index 0000000..25e174e
--- /dev/null
+++ b/CST116-Lab2-Florea-Output.txt
@@ -0,0 +1,9 @@
+Do you want to input temperature in Fahrenheit (F) or Celsius (C)?
+F
+Enter a value in Fahrenheit for temperature (-80F - 121F inclusive):
+-20
+You entered -20 degrees Fahrenheit.
+Enter a speed for the wind in MPH (0 - 231, inclusive):
+30
+You entered 30 miles per hour.
+For -20 degrees F and 30 mph the wind chill is: -53.0284 \ No newline at end of file
diff --git a/CST116-Lab2-PseudoCode-Florea.txt b/CST116-Lab2-PseudoCode-Florea.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/CST116-Lab2-PseudoCode-Florea.txt
diff --git a/LabResults.txt b/LabResults.txt
deleted file mode 100644
index bfe34d2..0000000
--- a/LabResults.txt
+++ /dev/null
@@ -1 +0,0 @@
-RunResults \ No newline at end of file
diff --git a/a.out b/a.out
index 0253058..386c4af 100755
--- a/a.out
+++ b/a.out
Binary files differ