diff options
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-CH8-Cyrus-pseudo-code.txt')
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-CH8-Cyrus-pseudo-code.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CST116-Ch8-Debugging/CST116-CH8-Cyrus-pseudo-code.txt b/CST116-Ch8-Debugging/CST116-CH8-Cyrus-pseudo-code.txt new file mode 100644 index 0000000..e80af58 --- /dev/null +++ b/CST116-Ch8-Debugging/CST116-CH8-Cyrus-pseudo-code.txt @@ -0,0 +1,13 @@ +create int i and set to be 0; +create int count; + +while i < 10, print i, increment the value of i by one and create a new line; + +print i and create a new line; + +set count to be 0; +while count is less than 10, print count and create a new line then increment the value of count by 1; + +print count and create a new line; + +end;
\ No newline at end of file |