akatamashhii akatamashhii
  • 11-01-2022
  • Computers and Technology
contestada

10. Rewrite this loop into a "for” loop:
int number = 6;
while (number > 0) {
number 3;
System.out.print(number + " ");
}

Respuesta :

s1780432 s1780432
  • 20-01-2022

Answer:

for (int number = 6; number > 0; number-=3) {

   System.out.print(number + " ");

}

Explanation:

Answer Link

Otras preguntas

What two numbers are 7 units from zero on a nuberline?
Name the Property of Congruence that justifies the statement If XY = WX then WX = XY ?
Solve 3/2 x 10/3. Simplify if possible.
How many U.S. states begin with the letter "I"?
What is tour de france?
how many times does 41 go into 910
Is Scorpio a water sign?
12 Years A Slave!! What disease did Robert die of and later infect Solomon? a.Small Pox b.Tuberculosis c.Malaria d.Cholera
-2 - 18x = 20 what is x
True or false some critics claim that art and artifacts are exclusive terms and that most works of art really are artifacts to begin with