Professional Documents
Culture Documents
Which looping process checks the test condition at the end of the loop?
a.
b.
c.
d.
for
while
do-while
no looping process checks the test condition at the end
3.
a.
b.
c.
d.
4.
a.
b.
c.
d.
5. Which looping process is best used when the number of iterations is known?
a. for
b. while
c. do-while
d. all looping processes require that the iterations be known
Prompt a user to enter N numbers and stop when enters 0, and then fined all even
numbers. (5 Marks).