Question #51028

X=INT(SQR(2)). Which of the following is the value of X in the BASIC program?
a. 1.414
b. 4
c. 0
d. 1

Expert's answer

X = INT( SQR (Y))

This expression meansthat X is equal to the integer part of the square number Y.

Thus, X= INT(SQR(2))=INT(2

``

## Comments

## Leave a comment