2. count = 1
DO until count >=10
Print count
count = count + 1
End LOOP
Answers
Answered by
2
Answer:
nt count = 1; while (count <= 10) { out.println(count); count = count – 1; } Why is this an infinite loop? count starts at 1, then goes to 0, -1, -2, etc., never getting greater than 10, which is needed to make the condition false! So this loop never ends. int count = 1; while (count != 10) { out.println(count); count = count + 2; }
Explanation:
Answered by
1
Answer:
BBHhuahwbwbwhjdsos wmwkso
Similar questions