describe the output that will be generated by this
basic program
Let x=0
FOR i = 0 to 4
FOR j = 0 to i-1
LET k = (i+j-1)
IF (k MOD 2=0) THEN
LET x= x+k
ELSE IF(k MOD 3 = 0) THEN
LET x=x+k-2
END IF
PRINT X
NEXT J
NEXT I
END
Get Answers For Free
Most questions answered within 1 hours.