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

How do I solve for Y :( ? 2x-3y=8
what is the main elements in a plastic cup
what is ten times as much as 0.09
What is the GCF of 55 and 100?
What number must be added to 14,056 to result in a sum of 32,713
Two functions are defined as: f(x)= (1/(-5x+19))+5 g(x)= (1/(10x-3)) Find  fg(x) Simplify your answer into the form (ax+b)/(cx+d) where a,b,c,d, are numbers to
A can of paint covers 0.56m squared. If Martin puts two coats of paint on the cylinder, How many cans of paint does he need?
What do the separatists in Quebec want from the Canadian government? Why does the federal government resist Quebec’s request?
If a political party puts the party agenda above the needs of the people it is known as
Give three motivating factors why a good number of Christians are simply nice to others.?