+3 votes
in Class 12 by kratos

Study the following program and select the possible output(*) from the options (i) to (iv) following it. Also, write the maximum and the minimum values that can be assigned to the variable Y.

(i) 0 : 0

(ii) 1 : 6

(iii) 2 : 4

(iv) 0 : 3

1 Answer

+1 vote
by kratos
 
Best answer

(i) and (iv) are the possible output(*)

Minimum value that can be assigned to Y = 0

Maximum value assigned to Y = 3

...