Solved

What Is the Value of X After the Instructions Corresponding X=6Y=7\begin{array} { l } X = 6 \\Y = 7\end{array}

Question 23

Multiple Choice

What is the value of X after the instructions corresponding to the following pseudocode are executed?
X=6Y=7\begin{array} { l } X = 6 \\Y = 7\end{array}
IFINT(5.5) =X\operatorname { IF } \operatorname { INT } ( 5.5 ) = \mathrm { X } OR INT(6.9) =Y\operatorname { INT } ( 6.9 ) = \mathrm { Y } THEN
X=X+Y\mathrm { X } = \mathrm { X } + \mathrm { Y }
ELSE
Y=Y+1Y = Y + 1
ENDIF


A) 6
B) 7
C) 8
D) 13

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions