Computer Science, asked by Boomiga, 11 months ago

Does testing the loop condition affect the loop invariant? Why?​

Answers

Answered by aravindhchakkaravart
7

Answer:

yes, it affects

Explanation:

The loop invariants will be true on entry into a loop and following each iteration, so that on exit from the loop both the loop invariants and the loop termination condition can be guaranteed.

Similar questions