PrepAway - Latest Free Exam Questions & Answers

Which looping structure should you use?

You are creating a routine that will perform calculations by using a repetition structure. You
need to ensure that the entire loop executes at least once.
Which looping structure should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
For

B.
While

C.
Do„While

D.
For. „Each

Explanation:
In a Do..While loop the test is at the end of the structure, so it will be executed at least once.

2 Comments on “Which looping structure should you use?


Leave a Reply