diff options
| -rw-r--r-- | cst116-ch10-debugging-wilson-pseudo-code.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cst116-ch10-debugging-wilson-pseudo-code.txt b/cst116-ch10-debugging-wilson-pseudo-code.txt index e69de29..46a65d4 100644 --- a/cst116-ch10-debugging-wilson-pseudo-code.txt +++ b/cst116-ch10-debugging-wilson-pseudo-code.txt @@ -0,0 +1,15 @@ +With first name in row 0, last name in row 1 + +DISPLAY "Please enter your first name: "; +READ name[0]; + +DISPLAY "Please enter your last name: "; +READ name[1]; + +DISPLAY "Welcome " name[0] " " name[1] "! Hope all is well"; + +FOR (int x = 0; x < SIZE; x++) + varX[x] = x; + +FOR x = 0, IF x < SIZE, x++ + varY[x] = x + 100;
\ No newline at end of file |