aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch10-Debugging/CST116 ch10 pseudo code.txt
blob: e3859c7bb156ce4fa48363a1e95631d6459a8dda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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