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

el valor númerico del término n=15 de la sucesión 5 20 80... es?​
Find the area of the shape.
I, change into passive voice1. NAM MADE SOME CAKES
What ideas might Wollstonecraft have added if she had written the argument today?
cannot decide which of two washing machines to buy. The selling price of each is ​$. The first is marked down by ​%. The second is marked down by ​% with an add
how many fidgets do you have
Read the passage below from “Marigolds” and answer question. Miss Lottie’s house was the most ramshackle of all our ramshackle homes. The sun and rain had long
Sonja has a bank account balance of $1400. Each week, her balance changes by-$85.25. She wants to keep the balance above $377. How many weeks will Sonja's balan
Jeremy got a haircut and paid 15% as a tip. What percent of the cost did Jeremy pay the barber, including the tip?
Jovie is maintaining a camp fire. She has kept the fire steadily burning for 101010 hours with 151515 logs. She wants to know how many hours (h)(h)left parenthe