Question: public static void main(String[] args) { int[][] table = { { 4, 3, 5 }, { 0, 6, 3 }, { 1, 2, 2 },
public static void main(String[] args) { int[][] table = { { 4, 3, 5 }, { 0, 6, 3 }, { 1, 2, 2 }, }; for (int k = 0; k < table.length; k++) { System.out.print(table[k][k]); } }
I understand that the answer is 462, but I don't understand is how to hand solve this to get that answer, if anyone can help that would be greatly appreciated! Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
