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

If JK = 9, KI = 12, JI = 11, NL = 30, and ML = 27.5, find the perimeter of LMN. Round your answer to the nearest tenth if necessary. Figures are not necessarily
In "The Tall Woman and Her Short Husband," what is the most likely reason the tailor's wife decides to find Mr. Short a new wife? A) She intends to make amends
As máquinas tem como fonte de calor? A)Um comburente B)O gás carbônico C)Uma Bateria D)Um combustível.
pls help pls help pls help pls help
Factor to write an equivalent expression : 36a-16
need the answers to this
wha were montz's opinion for england-positive and negative
Your cell phone plan costs 55 dollars a month, plus 35 cents per minute. Write an equation to represent the monthly bill of the cell phone plan.
yesssssirrrrrrrrrrrrrrrrrrrrrrrrr
Question 16. Use the Triangle Inequality Theorems to determine if a triangle can exist with the given side lengths. (HINT: A triangle with sides a, b and c exis