diff options
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-CH8-Output-Havaldar.txt | 20 | ||||
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-Ch8-PsuedoCode-Havaldar.txt | 14 |
2 files changed, 34 insertions, 0 deletions
diff --git a/CST116-Ch8-Debugging/CST116-CH8-Output-Havaldar.txt b/CST116-Ch8-Debugging/CST116-CH8-Output-Havaldar.txt new file mode 100644 index 0000000..67aaef7 --- /dev/null +++ b/CST116-Ch8-Debugging/CST116-CH8-Output-Havaldar.txt @@ -0,0 +1,20 @@ +0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
\ No newline at end of file diff --git a/CST116-Ch8-Debugging/CST116-Ch8-PsuedoCode-Havaldar.txt b/CST116-Ch8-Debugging/CST116-Ch8-PsuedoCode-Havaldar.txt new file mode 100644 index 0000000..afeb9ec --- /dev/null +++ b/CST116-Ch8-Debugging/CST116-Ch8-PsuedoCode-Havaldar.txt @@ -0,0 +1,14 @@ +Program Start
+
+Set veriable i as an integer equal to 0
+
+intialize variable count as an int
+
+While i is less than 10
+ print i with line break
+ increment i by 1
+
+For count set to 0, while it is less than 10, and increment it by 1 every cycle
+ print out count
+
+Program End
\ No newline at end of file |