ช่วยอธิบายโจรท์Arraysหน่อยครับ
Section 5.8 Multidimensional Arrays 5.18* (Summing all the numbers in a matrix) Write a method that sums all the intergers in a matrix of integers. Use {{1,2,4,5},{6,7,8,9},{10,11,12,13},{14,15,16,17}} to test the method. ช่วยอธิบายหน่อยครับว่าโจรท์ทำอะไร แล้วผลรันออกมาเป็นแนวไหนครับ แล้วเดียวผมลองไปทำดูเองครับ ขอบคุณมากกกครับ
|