How do I read 2d arrays from files? I need to write a function that will read 2d arrays from a file and determine whether the array is symmetric, upper triangle or diagonal..How can I start
symmetric meaning [i,j]=[j,i]
upper triangle meaning if i>j and [i,j]==0
diagonal meaning i<j and [i,j]==0