20th Jul 2017, 10:40 AM
Sahil Choudhary
Sahil Choudhary - avatar
2 ответов
+ 4
@knm i will try with classes . i am learning now ☺☺👍
21st Jul 2017, 11:31 AM
Sahil Choudhary
Sahil Choudhary - avatar
+ 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!
20th Jul 2017, 1:59 PM
Ким Зыонг
Ким Зыонг - avatar