diff options
| author | TheOtherTonyStark <[email protected]> | 2022-10-09 15:23:16 -0700 |
|---|---|---|
| committer | TheOtherTonyStark <[email protected]> | 2022-10-09 15:23:16 -0700 |
| commit | 4ad19db8e859b631b0347ffabfe4c5911ca45e53 (patch) | |
| tree | f6d18861e4dd2bda1fc6fb6f3aaae7288714308b /CST116-Ch7-Debugging | |
| parent | Third Changes (diff) | |
| download | cst116-ch7-debugging-theothertonystark-main.tar.xz cst116-ch7-debugging-theothertonystark-main.zip | |
Diffstat (limited to 'CST116-Ch7-Debugging')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt | 12 | ||||
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj | 1 | ||||
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters | 3 |
3 files changed, 16 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt new file mode 100644 index 0000000..6b1ba61 --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt @@ -0,0 +1,12 @@ +Set "Age" to 0 +Ask user for age input +Take user input and compare against "First Birthday" + If age = 1, Print First Birthday +Next compare against "Teenager" + If 12 > age >19, Print Teenager +Next compare against "Child" + If age < 12, Print Child +Next compare against "Senior" + If age > 62, Print Senior +Finally, compare against "Adult" + If 19 < age < 62, 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 559729a..18d87b7 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj @@ -132,6 +132,7 @@ </ItemGroup>
<ItemGroup>
<Text Include="CST116-Ch7-Debugging-Solution.txt" />
+ <Text Include="CST116-Ch7-Debugging-Psuedocode.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters index 3b7b647..1d241c2 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters @@ -23,5 +23,8 @@ <Text Include="CST116-Ch7-Debugging-Solution.txt">
<Filter>Source Files</Filter>
</Text>
+ <Text Include="CST116-Ch7-Debugging-Psuedocode.txt">
+ <Filter>Source Files</Filter>
+ </Text>
</ItemGroup>
</Project>
\ No newline at end of file |