From 7bb21d9e3110133e9a281a0919fac7e3789d5b79 Mon Sep 17 00:00:00 2001 From: Taylor Rogers Date: Wed, 26 Oct 2022 09:23:28 -0700 Subject: Fixed file name --- .../CST116-Ch10-Debugging-Rogers-Pseudo-code.txt | 21 +++++++++++++++++++++ CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj | 2 +- .../CST116-Ch10-Debugging.vcxproj.filters | 2 +- .../CST116-Ch10-Rogers-Pseudo-code.txt | 21 --------------------- 4 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 CST116-Ch10-Debugging/CST116-Ch10-Debugging-Rogers-Pseudo-code.txt delete mode 100644 CST116-Ch10-Debugging/CST116-Ch10-Rogers-Pseudo-code.txt diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Rogers-Pseudo-code.txt b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Rogers-Pseudo-code.txt new file mode 100644 index 0000000..247d265 --- /dev/null +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Rogers-Pseudo-code.txt @@ -0,0 +1,21 @@ +1. Declare constant variable [SIZE] = 10 +2. Declare array [varX], [varY], [varZ] = 10 +3. Create function "GetAndDisplayWelcomeInfo": + 1. Print "Please enter your first name" + 2. Input [name[0]] + 3. Print "Please enter your last name" + 4. Input [name[1]] + 5. Print "Welcome [name[0]] [name[1]]!" + 6. Print "Hope all is well" +4. Create function "FunctionOne": + 1. delcare variable [x] = 0 + 2. If x < [SIZE] + 1. Add one to [x] + 2. Add [x] to [varX[x]] + 3. Add [x] + 100 to [varY[x]] +5. Create function "FunctionTwo": + 1. delcare variable [x] = 0 + 2. If x < [SIZE] + 1. [varZ[x]] = [varX[x]] + [varY[x]] +7. Print the results of "GetAndDisplayWelcomeInfo" +8. Print the first 20 values of arrays [varX], [varY], and [varZ] in table format \ No newline at end of file diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj index 301c075..b53aa1f 100644 --- a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj @@ -131,7 +131,7 @@ - + diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj.filters b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj.filters index 7ce0da3..c4a46ae 100644 --- a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj.filters +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.vcxproj.filters @@ -23,7 +23,7 @@ Source Files - + Source Files diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Rogers-Pseudo-code.txt b/CST116-Ch10-Debugging/CST116-Ch10-Rogers-Pseudo-code.txt deleted file mode 100644 index 247d265..0000000 --- a/CST116-Ch10-Debugging/CST116-Ch10-Rogers-Pseudo-code.txt +++ /dev/null @@ -1,21 +0,0 @@ -1. Declare constant variable [SIZE] = 10 -2. Declare array [varX], [varY], [varZ] = 10 -3. Create function "GetAndDisplayWelcomeInfo": - 1. Print "Please enter your first name" - 2. Input [name[0]] - 3. Print "Please enter your last name" - 4. Input [name[1]] - 5. Print "Welcome [name[0]] [name[1]]!" - 6. Print "Hope all is well" -4. Create function "FunctionOne": - 1. delcare variable [x] = 0 - 2. If x < [SIZE] - 1. Add one to [x] - 2. Add [x] to [varX[x]] - 3. Add [x] + 100 to [varY[x]] -5. Create function "FunctionTwo": - 1. delcare variable [x] = 0 - 2. If x < [SIZE] - 1. [varZ[x]] = [varX[x]] + [varY[x]] -7. Print the results of "GetAndDisplayWelcomeInfo" -8. Print the first 20 values of arrays [varX], [varY], and [varZ] in table format \ No newline at end of file -- cgit v1.2.3