go run /tmp/main.go
Enter matrixA(3x3):
1 9 3
3 5 2
0 3 0
Enter matrixB(3x3):
0 1 3
0 4 2
3 5 1
=== MatrixA ===
| 1 | | 9 | | 3 |
| 3 | | 5 | | 2 |
| 0 | | 3 | | 0 |
=== MatrixB ===
| 0 | | 1 | | 3 |
| 0 | | 4 | | 2 |
| 3 | | 5 | | 1 |
The Matrix was saved! Enter the number of the choice:
1 - Get Determinant
2 - Get Sum
3 - Multiply by
Your choise: 1
Det(A) = 21
git clone https://github.com/roma-marshall/triangular-matrix.git
cd triangular-matrix
go run main.go
MIT License