Please DEBUG my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please DEBUG my code

Check out " Matrix Det " from my codes. The ast else part of method is not working.That is , I am unable to use my code to find determinant of a 3*3 or more matrix.

3rd Mar 2017, 5:04 PM
Meharban Singh
Meharban Singh - avatar
1 Answer
+ 1
2d matrix is of type double and u r taking integer value in it.. try nextDouble()
20th Apr 2017, 10:27 PM
Yash Tiwari
Yash Tiwari - avatar