Computer Science, asked by Attitude2911, 10 months ago

please find the logic for this pattern in java programming​

Attachments:

Answers

Answered by ideepaksuryas
1

Answer:

Using multiple arrays

Explanation:

You have to create 5 rows and 3 columns, make an array for each row and reverse the alternative arrays.

For example:

[ [1, 2, 3], [6, 5, 4], [7, 8, 9], [12, 11, 10], [13, 14, 15] ]

You can loop over this array and print each in a new line to get the pattern.

Similar questions