Enhanced For Loop to Accept and Print Elements in a Double Array

I wrote this program to accept and print elements in a double array using enhanced for loop.

Copy the code and paste it into a new java class in Eclipse (or your IDE of choice) and run it to see how it works.There may be much better ways to do this, but I am just a novice programmer, and this what I came up with.


For more information on 2D arrays, visit this link –

Willamette CS231