3 lines
125 B
Text
3 lines
125 B
Text
|
|
n = parseInt[input["Enter matrix dimension as an integer: "]]
|
||
|
|
println[formatMatrix[makeArray[[n, n], {|a,b| a==b ? 1 : 0}]]]
|