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

& A man buys 4 tins of ham and 1 tin of sardines for N9.40. A tin of sardines costs N1.40 less than a tin of ham. Find the cost of a tin of ham.​
The textbook describes three keys to being information literate. Which of the following is one of the keys?
In this book, Mahan urged Americans to build a large navy and acquire colonies as Britain had. What other strategy did Mahan advocate for the United States to s
Solve all 3 and maybe I will give brainlest
what did Pennsylvania fight for during the 1775-1776 second continental congress?
a person who experienced a horrible accident and then became unusually anxious and depressed for a period of three weeks probably experienced
fixed cost is group of answer choices the total expense incurred by a firm in producing and marketing a product, which equals the sum of overhead cost and varia
promotion is the set of marketing communication activities designed to inform and persuade groups of people. these people are limited to
From the diagram below, if the measure of ∠ = 60 °, and side AB = 62‾√, then side BC = _____.
according to abigail stewart, feminist strategies for studying women's lives should incorporate all of the following procedures except group of answer choices f