diff options
| author | jacobdw22 <[email protected]> | 2022-10-22 18:18:00 -0700 |
|---|---|---|
| committer | jacobdw22 <[email protected]> | 2022-10-22 18:18:00 -0700 |
| commit | 2b8d879109465008e3cdfd89c9b4e2fbc97e0456 (patch) | |
| tree | 54b7742da428f7a4a27d4880bed612f17663bf58 /cst116-ch10-debugging-wilson-pseudo-code.txt | |
| parent | simple changes (diff) | |
| download | cst116-ch10-debugging-jacobdw22-2b8d879109465008e3cdfd89c9b4e2fbc97e0456.tar.xz cst116-ch10-debugging-jacobdw22-2b8d879109465008e3cdfd89c9b4e2fbc97e0456.zip | |
Final Changes #1
Diffstat (limited to 'cst116-ch10-debugging-wilson-pseudo-code.txt')
| -rw-r--r-- | cst116-ch10-debugging-wilson-pseudo-code.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cst116-ch10-debugging-wilson-pseudo-code.txt b/cst116-ch10-debugging-wilson-pseudo-code.txt index 8b89fb9..0c8ab5a 100644 --- a/cst116-ch10-debugging-wilson-pseudo-code.txt +++ b/cst116-ch10-debugging-wilson-pseudo-code.txt @@ -18,4 +18,12 @@ FOR x = 0, IF x < SIZE, x++; SET varX[1] = { 99 }; FOR x = 0, IF x < SIZE, x++; - varZ[x] = varX[x] + varY[x];
\ No newline at end of file + varZ[x] = varX[x] + varY[x]; + + +DEFINE int x; + +DISPLAY " \t x \t y \t z\n\n"; + + for (x = 0; x < SIZE; x++); + DISPLAY << "\t" << set width(3) << varX[x] "\t " << varY[x] "\t " << varZ[x] << endl; |