Question: Write a C program that declares a 2 - dimensional array of MAX rows and MAX columns of type char. ( Let MAX be 3

Write a C program that declares a 2-dimensional array of MAX rows and MAX columns of type char. (Let MAX be 30 in your program). The program prompts the user for an integer value, , less than MAX. The program initializes all the elements in the first rows and columns of the array to be the space character (i.e.,). Then, it uses the asterisk character (i.e.,*) to store the shape of the letter Zin the array. To do so, you want:- Fill the first row with asterisks.- Fill the last row with asterisks, and- Fill the diagonal running from the top right corner of the array to the bottom left corner (called

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 Programming Questions!