kevilinohdp58n0m kevilinohdp58n0m
  • 22-03-2018
  • Computers and Technology
contestada

Set the following for loop header so that it prints the numbers, 0 2 4 6 8.

for (int i = ___; i ____; i ___ ) {
System.out.print(i + " ");
}
2, <= 10, ++
2, <= 10, += 2
0, <= 10, += 2
0, < 10, += 2
2, < 10, += 2

Respuesta :

Аноним Аноним
  • 23-03-2018
Option D is correct. The loop should look like this:

for (int i = 0; i < 10; i += 2)
{
     System.out.print(i + " ");
}
Answer Link
iqbalmuzafar410
iqbalmuzafar410 iqbalmuzafar410
  • 24-03-2018
This is correct meaning the answer above Is correcyt
Answer Link

Otras preguntas

36 divided by 10 = ?
A population of insects doubles every month. This particular population started out with 20 insects. Write an equation to model this scenario.
what are three parts of a cell theory
Why did the founding fathers write the dedecleration of independence?
are natural numbers always/sometimes/never rational numbers
how does a plane and parachute manipulate air resistance differently?
Solve each quadratic equation. Show your work. x^2 + 3x = 10
dvds are on sale for $24 dollars each. which expression can be used to find the cost in dollars of buying 4 dvds?
what is the relationship between the 6s in the number 7,664?
sentence explaining what the terms have in common. Archaeology, Artifact, Carbon dating