What is the final value of y? int x = 6; int y = 2; if (x < 10) { if(y <5) { y = y + 1; } else { y = 7; else { y = y + 10; }
a. 3
b.7
c. 12
d. 13