What is the value of X after the instructions corresponding to the following pseudocode are executed?
```
X = 5
Y = 7
IF INT(5.4) = X AND INT(6.9) = Y THEN
X = X + Y
ELSE
Y = Y + 1
ENDIF
```
a) 5
b) 7
c) 8
d) 12
a) 5
Computer Science & Information Technology
You might also like to view...
In the following function, what is passed to the first parameter?
void f1( int& value1, int value2); int x,y; f1(x,y); a. The value of x b. nothing, it is a void function c. the value of y d. the variable x (or its memory location)
Computer Science & Information Technology
When data values in a program are stored in memory, they are lost when the program ends.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology