Hello everyone,
Does anyone know how to write a source code for 3x3 determinants. I was given that for my C++ final exam and didn't know how to do it. I could only do the 2x2 determinants and that's what i put down.
Any help is greatly appreciated. thanks

It's pretty simple. what have you tried? you only might have a problem devising a way to find the det of a n x n matrix. But that's pretty simple too.

Hi,
thanks for your reply. However, i did not understand what you meant. Could you explain it to me more clearly. I did not understand the numbers at the end of the message.

It's pretty simple. what have you tried? you
only might have a problem devising a way to find the det of a n x n matrix. But that's pretty simple too.

Then you should learn C++. Taking from you the opportunity to solve this problem yourself won't solve this long-term problem.

Yeah, since it is only a 3 x 3 you could prolly hard code it.