Question: Modify the application you wrote in Exercise 4.24 to read an odd number in the range 1 to 19 to specify the number of rows
Modify the application you wrote in Exercise 4.24 to read an odd number in the range 1 to 19 to specify the number of rows in the diamond. Your program should then display a diamond of the appropriate size.
Exercise 4.24
Write an application that prints the following two dimensional matrix. Use for loops to minimize the number of output statements.

1 1 1 1 1 22222 3 3 3 3 3 4 4 4 4 4 5 5 5 5 5
Step by Step Solution
3.41 Rating (148 Votes )
There are 3 Steps involved in it
To modify the application from Exercise 424 we need to create a new program that reads an odd numbe... View full answer
Get step-by-step solutions from verified subject matter experts
