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

Suppose theta= 11pi/12. How do you use the sum identity to find the exact value of sin theta?
Suppose theta= 11pi/12. How do you use the sum identity to find the exact value of sin theta?
How do you find the perimeter of a dented square?
Suppose theta= 11pi/12. How do you use the sum identity to find the exact value of sin theta?
if arctan(3/5)=K    Tan(k)=?
How do you find the perimeter of a dented square?
if arctan(3/5)=K    Tan(k)=?
Here's a story problem...."Rita's wants to estimate the number of beans in a large jar.  She takes out 100. she takes out 100 beans and marks them. Then she ret
Here's a story problem...."Rita's wants to estimate the number of beans in a large jar.  She takes out 100. she takes out 100 beans and marks them. Then she ret
How do you find the perimeter of a dented square?