From 2780847b1b1bc388881a2f14be3f538327072e98 Mon Sep 17 00:00:00 2001 From: Wyatt Date: Wed, 26 Oct 2022 15:59:11 -0700 Subject: finished assignment --- .../CST116-Ch10-Debugging-Output.txt | 24 +++++++++++++ .../CST116-Ch10-Debugging-PsuedoCode.txt | 42 ++++++++++++++++++++++ CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp | 17 +++++---- 3 files changed, 77 insertions(+), 6 deletions(-) create mode 100644 CST116-Ch10-Debugging/CST116-Ch10-Debugging-Output.txt create mode 100644 CST116-Ch10-Debugging/CST116-Ch10-Debugging-PsuedoCode.txt diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Output.txt b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Output.txt new file mode 100644 index 0000000..bb4ede5 --- /dev/null +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Output.txt @@ -0,0 +1,24 @@ +Please enter your first name: Jo + +Please enter your last name: johm + + + Welcome Jo johm! + Hope all is well + + x y z + + 0 100 -99 + 99 101 102 + 2 102 104 + 3 103 106 + 4 104 108 + 5 105 110 + 6 106 112 + 7 107 114 + 8 108 116 + 9 109 118 + +C:\Users\wythe\Desktop\Homework\C++\cst116-ch10-debugging-johnson\CST116-Ch10-Debugging\x64\Debug\CST116-Ch10-Debugging.exe (process 24412) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . \ No newline at end of file diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging-PsuedoCode.txt b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-PsuedoCode.txt new file mode 100644 index 0000000..7714581 --- /dev/null +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-PsuedoCode.txt @@ -0,0 +1,42 @@ +constant int SIZE = 5 + +instantiate 3 integer arrays with size of SIZE, their names will be varX, varY, varZ + + +GetAndDisplayWelcomeInfo() +{ +create a 2 dimensional array of characters with name 'name' +its size will be [2][20] + +set name[0] to user inputed first name +set name[1] to user inputed second name + +print welcome message, "Welcome name[0] + name[1]. Hope all is well" +} + +FunctionOne(int varX[], int varY[]) +{ +for(x=0, x