New course! Every coder should learn Generative AI!
Try a free lesson0
pls help me understand this code and how did i get 1 as answer.if i edit vue of y result is 0
4 Answers
+ 1
y++ is executed in every iteration of the loop.
+ 1
because 7%6 is 1?
0
but y was not specified in loop
0
it was not linked