diff options
| author | jacobdw22 <[email protected]> | 2022-10-22 17:48:22 -0700 |
|---|---|---|
| committer | jacobdw22 <[email protected]> | 2022-10-22 17:48:22 -0700 |
| commit | c2c7e476818ba7f0157ad3d9cc3c369fa0c5cd06 (patch) | |
| tree | 794ccb3af82b6f2f05b40a12e2cda4ac6e99aadd /cst116-ch10-debugging-wilson-pseudo-code.txt | |
| parent | Completed Results (diff) | |
| download | cst116-ch10-debugging-jacobdw22-c2c7e476818ba7f0157ad3d9cc3c369fa0c5cd06.tar.xz cst116-ch10-debugging-jacobdw22-c2c7e476818ba7f0157ad3d9cc3c369fa0c5cd06.zip | |
Started pseudo code
Diffstat (limited to 'cst116-ch10-debugging-wilson-pseudo-code.txt')
| -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 |