3.0k views
3 votes
To output the contents of a fully-filled two-dimensional array using pseudocode, write out the elements in the columns within a row, before moving to the next row, using a ________ loop within another.

A. DOWHILE
B. REPEAT UNTIL
C. DO
D. None of the other answers are correct

User Cerkiner
by
7.0k points

1 Answer

1 vote

Answer:

B.

Step-by-step explanation:

Based on the information provided within the question it can be said that the loop that should be used is a repeat until loop. This is because this loop will continue cycling until a certain condition is met. In this situation, the loop breakout condition would be the output of the final element in the last column and row of the two-dimensional array.

User Samia Ruponti
by
5.3k points