diff options
Diffstat (limited to 'CST116-Ch10-Debugging/CST116 ch10 pseudo code.txt')
| -rw-r--r-- | CST116-Ch10-Debugging/CST116 ch10 pseudo code.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/CST116-Ch10-Debugging/CST116 ch10 pseudo code.txt b/CST116-Ch10-Debugging/CST116 ch10 pseudo code.txt new file mode 100644 index 0000000..e3859c7 --- /dev/null +++ b/CST116-Ch10-Debugging/CST116 ch10 pseudo code.txt @@ -0,0 +1,19 @@ +Under main +set varX, varY, and varZ to have size amount of elements +set function GetAndDisplayWelcomeInfo: + set character name as 2 sets of 20 values + output "please enter your first name:" + input name of first element + output "please enter your last name:" + input name of second element + output "welcome 1st name element and 2nd name element" + and "hope all is well" +set funcion FunctionOne with (varX, varY): + set values in varX to values of 0 to anything less than size + set values in varY to be varX above plus 100 +set function FunctionTwo with (varX, varY, and varZ) + set values in varZ to be varX plus varY +set function PrintFunction with (varX, varY, varZ) + set variable x + output "x y z" + set output varX, varY, and varZ
\ No newline at end of file |