Declare and create a two-dimensional array of ints, plan, with 2 rows, and initialize the first row to 8, 20, 50 and the second row to 12, 30, 75.

Declare and create a two-dimensional array of ints, plan, with 2 rows, and initialize the first row to 8, 20, 50 and the second row to 12, 30, 75.

LANGUAGE: JAVA

CHALLENGE:

Declare and create a two-dimensional array of ints, plan, with 2 rows, and initialize the first row to 8, 20, 50 and the second row to 12, 30, 75.

SOLUTION:

int [][] plan = {{8, 20, 50}, {12, 30, 75}};

Add comment