Question: Part 2) write a C++ program that declares a 2 dimensional array: int CSIIAssign3 [10][12]; Initialize your array using a text file, user input or

Part 2) write a C++ program that declares a 2 dimensional array: int CSIIAssign3 [10][12]; Initialize your array using a text file, user input or assign value while declaring the array, you can choose the method. Then,

a. Write a loop to print first row of the array on one line, using cout.

b. Write a loop to print first column of the array on one line, using cout.

c. Write a loop to print first five rows of the array on one line, using cout, each line in a single output line.

d. Write a loop to print the entire array backward and upside down, so that the last index appears first, with the last column on the left. Here is an example: {2,3,4} {8,6,9} You want to print it as: {9,4} {6,3} {8,2}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!