christianbabona christianbabona
  • 23-03-2017
  • Computers and Technology
contestada

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) {}

18 points

Respuesta :

xjkbel
xjkbel xjkbel
  • 23-03-2017

for (int x=0; x<=10; x++) {}

This will loop 11 times as it begins at zero and loops all the way up to and including ten. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.

Answer Link

Otras preguntas

When Bolivar uses the term "monsters," who is he discussing?
3. The camp is for kids aged ________ ten and fifteen.
Can anyone help me please
7-9 -10-4 -7-8 -20-(-5)
Quisbentuk pangkat dari2² + 3² - 2²=note:. user Indonesia​
pou kin te marye si tout tan nap fashe wut languages is that
This is the equation for the thermite reaction: Fe2O3 + 2Al = Al2O3 + 2Fe You know the charge on the Al and O ions because you know how many electrons each atom
when f(x) is greater than 0
Can you plssssssssssss help me Can you do plsssssssss help meeee
ALGEBRA question 100 POINTS. Easy