akatamashhii akatamashhii
  • 11-01-2022
  • Computers and Technology
contestada

7. Rewrite this "for" loop into a while loop:
for (int i = 0; i < 6; i = (i + 2)/2) {
System.out.print(i + " ");
}
+

Respuesta :

s1780432 s1780432
  • 20-01-2022

Answer:

int i = 0;

while (i<6) {

   System.out.print(i + " ");

   i = (i+2)/2;

}

Explanation:

Answer Link

Otras preguntas

write five characteristics of present society​
what is the answer of this: 689 × 6156 ÷ 18% of 684 = 28 × 250 ÷ 8 + ? + 4300 A)27295 B)29275 C)29527 D)29725 E)None of these
7. What sort of culture was created by the competition of European countries for colonies? a. one of isolationism b. one of entente c. one of militarism d. one
32% in fraction can be written as Hellpppppppp
10 – 7(5x – 5) = 3x + 6
O Afonso, o Bruno, o Carlos, o Daniel e o Eduardo vão dar uma volta de bicicleta. Como querem experimentar outras bicicletas, decidem que cada um deles irá na b
the symbol for the element in period 2, group 13
I NEED HELP NOW PLZ!!!
How many amino acids are coded for in the following sequence of mRNA nucleotides? CGAUACAGUAGCUUGAAC
https://newsela.com/read/principal-henry-darby/id/2001018992/ https://newsela.com/read/ela-famous-food-origins/id/2001018461/ https://newsela.com/read/texas-sto
good job