Question: IN JAVA 1. Declare and initialize the 2 dimensional array a b c d e f g h i Next print one diagonal of this

IN JAVA

1. Declare and initialize the 2 dimensional array

a b c

d e f

g h i

Next print one diagonal of this "determinant" on one line , and then the other separated by a line from the first diagonal you printed.

2. Generate the two-dimensional string array:

Roses are red Violets are blue I've never found someone as patient As you

Substitute "but I have commitment issues" for the last line in the above poem and print the whole poem.

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!