Pls help me,i've been trying to write a cpp program that solves a 3x3 matrix problem,but ALL i kept writing is a 3x3gibberish.Any help would be appreciated
There is a formula for the determinant of 3x3 matrix. See http://en.wikipedia.org/wiki/Determinant#3-by-3_matrices
If you need to make this work for NxN matrix, you can either use Gaussian elimination or Laplace expansion. I suggest the former. There is pseudo code in wikipedia.