Give the output of the loop in Exercise 13. Data from Exercise 13 a. Is this loop

Question:

Give the output of the loop in Exercise 13.


Data from Exercise 13

Declare Number As Integer Set Number = 2 Repeat Write Number Set Number = Number - 1 %3D Until Number %3D

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?


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

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: