From 2b8d879109465008e3cdfd89c9b4e2fbc97e0456 Mon Sep 17 00:00:00 2001 From: jacobdw22 Date: Sat, 22 Oct 2022 18:18:00 -0700 Subject: Final Changes #1 --- cst116-ch10-debugging-wilson-pseudo-code.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'cst116-ch10-debugging-wilson-pseudo-code.txt') 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; -- cgit v1.2.3