Rewrite the code shown in Example 3 in Figure 12-5 so it displays the contents of the

Question:

Rewrite the code shown in Example 3 in Figure 12-5 so it displays the contents of the prices array, column by column. Use an outer for loop and a nested while loop.

HOW TO Display the Contents of a Two-Dimensional Array Example 1 int row = 0; int column - 0; while (column < 2) { while (row < 3) %3D cout

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: