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

Fractions and Percent problem.I have to write each ratio as a percent. 45 7/8 out of 100 meters... how do I solve this?
two equivalent fractions to 8/24
-0.38 written as a fraction is
two equivalent fractions to 8/24
Why is mitosis a form of asexual reproduction?
in most ecosystems, what kind of organisms are producers
Fractions and Percent problem.I have to write each ratio as a percent. 45 7/8 out of 100 meters... how do I solve this?
-0.38 written as a fraction is
What is the equation for 4m-5=10m-2
Fractions and Percent problem.I have to write each ratio as a percent. 45 7/8 out of 100 meters... how do I solve this?
good job