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

can someone give me tips on what to do when mean people are making fun of you just because you are different from everyone else?
how many vertices has octagon have?
The Arabian Sea touches a. Pakistan. b. Nepal. c. Bangladesh. d. Bhutan.
is colorblindness a non disjunction or a mutation
carmine paid an electrician x dollars per hour for a 5-hour job plus $70 for parts. The total charge was $320. Which equation can be used to determine how much
What did scientists use to come up with a theory about how the universe was created?
How did Manifest Destiny influence sectionalism?
Noor rode her bike two fifth mile in one twelfth hour. At this rate, how far would Noor ride her bike in 1 hour?
Which indicators are living and non-living?
Which statement describes the Supreme Court case of Worcester v. Georgia? A. The court ruled that the Cherokee did not own the land, so President Andrew Jackso