aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging
diff options
context:
space:
mode:
authorTrenton Stark <[email protected]>2022-10-12 21:09:59 -0700
committerTrenton Stark <[email protected]>2022-10-12 21:09:59 -0700
commita47f8aae56ca6bb2c3b3a69d755422d72c62d1f9 (patch)
treef8899fb830c419911eb2c79920a57223eade90b6 /CST116-Ch7-Debugging
parentadded output file (diff)
downloadcst116-ch7-debugging-stark-main.tar.xz
cst116-ch7-debugging-stark-main.zip
Added psuedo code. FinishedHEADmain
Diffstat (limited to 'CST116-Ch7-Debugging')
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt19
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj1
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters1
3 files changed, 21 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt
new file mode 100644
index 0000000..6ab6439
--- /dev/null
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedo-Code.txt
@@ -0,0 +1,19 @@
+set age to 1
+
+print "Enter your age: "
+input into age
+
+if age is 1:
+ print First Birthday
+
+else if age is 12-19
+ print "Teenager"
+
+else if age is less than 12
+ print "Child"
+
+else if age is greater than 62
+ print "Senior"
+
+else
+ print "Adult" \ No newline at end of file
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj
index d7070bc..9f22d19 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj
@@ -130,6 +130,7 @@
<ClCompile Include="CST116-Ch7-Debugging.cpp" />
</ItemGroup>
<ItemGroup>
+ <Text Include="CST116-Ch7-Debugging-Psuedo-Code.txt" />
<Text Include="CST116-Ch7-Debugging.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters
index 8210b6c..ec756e8 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters
@@ -21,5 +21,6 @@
</ItemGroup>
<ItemGroup>
<Text Include="CST116-Ch7-Debugging.txt" />
+ <Text Include="CST116-Ch7-Debugging-Psuedo-Code.txt" />
</ItemGroup>
</Project> \ No newline at end of file