0
How can the anwer be 8
aslong as I know the script in this question is value 0 till 6 cuz it begins at 0 but the correct answer is 8?¿
5 odpowiedzi
+ 6
$x = 0;
while (x <= 7){code}
as long as x is less or equal to 7 it won't quit the loop so it'll stop at 8.
+ 5
What question?
+ 1
module 5 quiz second question controllsturctures
+ 1
ahhh so thats why it is <= and not ==
0
module 5 quiz second question controllsturctures