Ask your own question, for FREE!
Mathematics 18 Online
OpenStudy (anonymous):

which of the following will not loop exactly 10 times? for (int x=0; x<10; x++) {} for (int x=1; x<=10; x++) {} for (int x=0; x<=10; x++) {} for (int x=2; x<=20; x +=2) {}

OpenStudy (anonymous):

Plz answer, need soon

OpenStudy (anonymous):

this is Java Programming

OpenStudy (anonymous):

@Jaynator

OpenStudy (anonymous):

The first loop covers `x=0,...9`. The second loop: `x=1,...,10`. The third: `x=0,...10`. Fourth: `x=2,4,6,...,20`. How many numbers are in each list?

OpenStudy (anonymous):

ok, i get it. thx

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!