Assume that the variable OK has been declared to be of type boolean. Replace the following code

Question:

Assume that the variable OK has been declared to be of type boolean. Replace the following code with an equivalent for loop:

OK = false; while (!OK) { }

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: