aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch8-Debugging/CST116-Ch8-Debugging-PseudoCode-Preston.txt
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-10-12 20:50:33 -0700
committerprestonderek <[email protected]>2022-10-12 20:50:33 -0700
commit622f15dd7b6d46b9f25037f4d6d3e986822c9f87 (patch)
tree1cbf34ec0e271d7460576ba613cc301db9a6b355 /CST116-Ch8-Debugging/CST116-Ch8-Debugging-PseudoCode-Preston.txt
parentCommit for change to for loop and finish of exersizes. (diff)
downloadcst116-chapter8-debugging-prestonderek-main.tar.xz
cst116-chapter8-debugging-prestonderek-main.zip
Commit for pseudocode and output files.HEADmain
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging-PseudoCode-Preston.txt')
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging-PseudoCode-Preston.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging-PseudoCode-Preston.txt b/CST116-Ch8-Debugging/CST116-Ch8-Debugging-PseudoCode-Preston.txt
new file mode 100644
index 0000000..63efb2b
--- /dev/null
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging-PseudoCode-Preston.txt
@@ -0,0 +1,12 @@
+begin main function
+
+int i = 0
+int count
+
+while i < 10
+ print i and add one to i
+
+for count = 0, count less than 10, count +1
+ print count
+
+end main function \ No newline at end of file