What would be value of j after the following is executed?

1.1 What would be value of j after the following is executed?
k=17;
j=6;
if (k < 10)
j=8;
j=j+1;
j=j+2;

A) 8
B) 9
C) 7
D) 10


Leave a Reply