From c4a34e0403a8f17b07ea384201f31b26ceee96d6 Mon Sep 17 00:00:00 2001 From: jacobdw22 Date: Sat, 22 Oct 2022 17:52:57 -0700 Subject: simple changes --- cst116-ch10-debugging-wilson-pseudo-code.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cst116-ch10-debugging-wilson-pseudo-code.txt b/cst116-ch10-debugging-wilson-pseudo-code.txt index 46a65d4..8b89fb9 100644 --- a/cst116-ch10-debugging-wilson-pseudo-code.txt +++ b/cst116-ch10-debugging-wilson-pseudo-code.txt @@ -8,8 +8,14 @@ READ name[1]; DISPLAY "Welcome " name[0] " " name[1] "! Hope all is well"; -FOR (int x = 0; x < SIZE; x++) +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 +FOR x = 0, IF x < SIZE, x++; + varY[x] = x + 100; + + +SET varX[1] = { 99 }; + +FOR x = 0, IF x < SIZE, x++; + varZ[x] = varX[x] + varY[x]; \ No newline at end of file -- cgit v1.2.3