Please help me to write a C++ program which finds the determinant of a n x n Matrix. I'm a beginner in C++ and have read all the posts related to this topic ,but it didn't help me at all. I know the code will be recursive, so i started to solve a 3 x 3 matrix first. Though it is possible to find the determinant without using loops & conditions by applying the formula (first element x (product of .....), i don't find it logical where we could exploit loops and conditions. Hence, i request you to help with the logical part of finding a determinant of n x n matrix.
techly 0 Newbie Poster
Sky Diploma 571 Practically a Posting Shark
techly 0 Newbie Poster
Sky Diploma 571 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.