(Algebra: 2 × 2 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 1 s on the diagonal and 0 on all other cells. For example, the inverse of matrix
is
.
i.e; 
The inverse of a 2 × 2 matrix A can be obtained using the following formula if ad - bc != 0 :

Implement the following function to obtain an inverse of the matrix:
void inverse(const double A[][2 ],double inverseOfA[][2 ])
Write a test program that prompts the user to enter a , b , c , d 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.