#0000098372
30 / 48
Consider the following program segment. At the end of this segment, what will the values for X, Y, and Z be?
X = 0
Y = 0
Z = 0
FOR K = 1 TO 3
X = X + 1
Z = Z + (X*Y)
Y = Y + 1
NEXT K