(Choose 1 answer)
<% int y = 0; %>
What gets printed when the following code snippet is compiled? Select the one correct answer.
<% int z = 0; %>
<% for(int x=0;x<3;x++) { %>
<% z++;++y;%>
<% }%>
<% if(z<y) {%>
<%= z%>
<% } else {%>
<%= z -1%>
<% }%>
A. 0
B. 1
C. 2
D. 3
E. The program generates compilation error.
FUOS
Mi
Q: 37