From c2c7e476818ba7f0157ad3d9cc3c369fa0c5cd06 Mon Sep 17 00:00:00 2001 From: jacobdw22 Date: Sat, 22 Oct 2022 17:48:22 -0700 Subject: Started pseudo code --- cst116-ch10-debugging-wilson-pseudo-code.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- cgit v1.2.3