Rewrite the code from Pencil and Paper Exercise 9 to use the do while statement in the nested loop.
REFERENCE : EXERCISE 9
Write the code to display a table consisting of four rows and six columns. The first column should contain the numbers 1 through 4 raised to the first power. The second column should contain the result of raising the number in the first column to the second power. The third column should contain the result of raising the number in the first column to the third power, and so on. The table will look similar to the one shown in Figure 8-45. Use two for statements: one to keep track of the numbers 1 through 4, and the other to keep track of the powers (1 through 6).
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.