+ 5
Math lovers! Checkout matrix inverse, determinant,addition and product.
https://code.sololearn.com/capiMUiVh9jv/?ref=app https://code.sololearn.com/ct31CRhlh6jO/?ref=app
2 ответов
+ 4
@knm
i will try with classes . i am learning now ☺☺👍
+ 1
it's working, but it's only good thing about this code. It doesn't have a validation of input, has linear structure without any classes or even functions. It would be better to write class "Matrix", which gets his size from constructor, and override '+' and '*' operators. Good luck!