Computer Science, asked by karmakarmousumi640, 1 month ago

2. count = 1
DO until count >=10
Print count
count = count + 1
End LOOP​

Answers

Answered by sdheeptha7
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 navneetsingh9019
1

Answer:

BBHhuahwbwbwhjdsos wmwkso

Similar questions