summaryrefslogtreecommitdiff
path: root/BlankConsoleLab
diff options
context:
space:
mode:
authorJoe Traver <[email protected]>2022-11-07 20:37:48 -0800
committerJoe Traver <[email protected]>2022-11-07 20:37:48 -0800
commitff3d3de98e5a500e8ab37101319aea02148a8d2f (patch)
treebad74a5c69394152e4b4d08ce13c3e356b3a7cfb /BlankConsoleLab
parentSetting up GitHub Classroom Feedback (diff)
downloadcst116-lab2-joetraver30-ff3d3de98e5a500e8ab37101319aea02148a8d2f.tar.xz
cst116-lab2-joetraver30-ff3d3de98e5a500e8ab37101319aea02148a8d2f.zip
Pseudo Code
Diffstat (limited to 'BlankConsoleLab')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp15
-rw-r--r--BlankConsoleLab/BlankConsoleLab.vcxproj8
-rw-r--r--BlankConsoleLab/Pseudo Code.txt41
3 files changed, 45 insertions, 19 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index ed5f807..8b13789 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -1,16 +1 @@
-// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there.
-//
-
-#include <iostream>
-
-using namespace std;
-
-using std::cout;
-using std::cin;
-using std::endl;
-
-int main()
-{
- cout << "Hello World!\n";
-}
diff --git a/BlankConsoleLab/BlankConsoleLab.vcxproj b/BlankConsoleLab/BlankConsoleLab.vcxproj
index db2e734..d2e3ee2 100644
--- a/BlankConsoleLab/BlankConsoleLab.vcxproj
+++ b/BlankConsoleLab/BlankConsoleLab.vcxproj
@@ -29,26 +29,26 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v142</PlatformToolset>
+ <PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v142</PlatformToolset>
+ <PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v142</PlatformToolset>
+ <PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v142</PlatformToolset>
+ <PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
diff --git a/BlankConsoleLab/Pseudo Code.txt b/BlankConsoleLab/Pseudo Code.txt
new file mode 100644
index 0000000..7eadab8
--- /dev/null
+++ b/BlankConsoleLab/Pseudo Code.txt
@@ -0,0 +1,41 @@
+CST116-Lab_2-joetraver-Pseudo_code
+
+Directive:
+
+Calaculate the windchill from user inputs
+
+ inputs:
+
+ Temp- celcius or fahrenheit
+ celcius: -62 to 49.5 to be converted to fahrenheit
+ fahrenheit: -80 to 121
+
+ Wind speed- MPH
+ MPH: 0 to 231
+
+
+Function_1 (Pass by Reference)
+
+ Request information within limits
+ Returns the user input for temperature in fahrenheit and wind speed in MPH
+
+
+Function_2 (Pass by Value)
+
+ Fahrenheit to celcius calculation
+
+ F = (9/5)*C+32
+
+
+Function_3 (Pass by Value)
+
+ Conducts the windchill calculation
+
+ 35.74+.6215*T-35.75*W^.16+.4275*T*W^.16
+
+ T = Temp
+ W = Wind speed
+
+Final output
+
+ "For (Function_2 temp output) fahrenheit and (Function_2 wind speed output) MPH the windchill is: (Funtion_3 output)" \ No newline at end of file