91 of 100 menu

Java Taskbook Level 10.1

Given two numbers, display the process of finding the LCM, as in school.

Given an arbitrary two-dimensional array:

{ {11, 12, 13, 14, 15}, {21, 22, 23, 24, 25}, {31, 32, 33, 34, 35}, {41, 42, 43, 44, 45}, {51, 52, 53, 54, 55}, }

Get the array of elements of its main diagonal:

{ 11, 22, 33, 44, 55 }
enru