Solved

Write a Definite While Loop That Initializes a Loop Control

Question 14

Essay

Write a definite while loop that initializes a loop control variable named decreaseOne to 10 and continues until decreaseOne > 0. Decrement the loop control variable by 1 and include the println output "Keep going" within the loop.

Correct Answer:

verifed

Verified

decreaseOne = 10;
while(decrea...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions