88.7k views
0 votes
The do-while loop is considered a(n) ______ loop. A) pre-test. B) post-test. C) infinite. D) limited. E) None of these.

1 Answer

2 votes

Answer:

B) post-test

Step-by-step explanation:

A do-while loop executes the loop body first and then checks the condition. This guarantees that the loop body is executed at least once, making it a post-test loop.

User Tarekahf
by
8.1k points

No related questions found