hello. i have been studying C++ and i programmed the following. can any one convert this in C language please it is urgent. [code] # include <iostream> # include <iomanip> # include <windows.h> #include <conio.h> using namespace std; void pw (int,int); void swap( double&,double&); void main() { double arr1[10][10],arr2[10][10],arr3[10][10],d,d1,d2,d3,X,Y,Z,x1,x2,x3; int i,j,k,l,r1,r2,c1,c2; char x,y; SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),14); // All the arrays are declared of DOUBLE TYPE start: cout<<"\t\t\t -------------------------------\n\t\t\t MATRIX CALCULATOR\n\t\t\t -------------------------------\n\n"; cout<<"WHAT MATRIX OPERATION DO YOU WANT TO PERFORM : \n\n\n"; // Gives you the options... cout<<"1. ADDITION\n\n2. SUBTRACTION\n\n3. MULTIPLICATION\n\n4. DETERMINANT\n\n5. EQUATION SOLVER\n\n6. ECHELON FORM\n\n7. INVERSE OF A MATRIX\n\n8. ADJOINT OF MATRIX"<<endl<<endl; …

Member Avatar
Member Avatar
+0 forum 2

The End.