(Algebra: 3 × 3 matrix inverse) The inverse of a square matrix A is denoted A-1 , such that A × A-1 = I, where I is the identity matrix with all 1s on the diagonal and 0 on all other cells. For example, the inverse of matrix
is
i.e.,

The inverse of a 3 × 3 matrix
can be obtained using the following formula if |A | # 0:

Implement the following function to obtain an inverse of the matrix:
void inverse(const double A[][3 ], double inverseOfA[][3 ].
Write a test program that prompts the user to enter a11 , a12 , a13 , a21 , a21 , a23 , a31 , a32 , a33 , for a matrix, and displays its inverse matrix. Here is a sample run:

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.