// This program will solve linear equations using Gaussian Elimination // Author: Brian Brindle #include void main() { int n, // number of equations (and unknowns) i,j; // indices double lin[11][12]; // array containing matrix void gauss(double[][12],int); // Data Input Section printf("Enter the number of unknowns...>"); scanf("%d",&n); for (i=1 ; i<=n ; ++i) { printf("Enter coefficients following by constant of equation %d...>",i); for (j=1 ; j<=(n+1) ; ++j) scanf("%lf",&lin[i][j]); } // Call the Gaussian Elimination Function gauss(lin,n); }