Question: Consider the following loop: a. Is this loop a pre-test loop or a post-test loop? b. List the statements in the body of the loop.
Consider the following loop:

a. Is this loop a pre-test loop or a post-test loop?
b. List the statements in the body of the loop.
c. What is the test condition for this loop?
Declare Number As Integer Set Number = 2 Repeat Write Number Set Number Number - 1 Until Number = 0 %3D
Step by Step Solution
3.41 Rating (173 Votes )
There are 3 Steps involved in it
a Posttest b Write ... View full answer
Get step-by-step solutions from verified subject matter experts
