#config clearmemory #config complexoff // This script can be used to multiply two matrices // To use it, first press the run button here. // Then you can run the script as often as you want by // pressing the run button of the script console // // Feel free to read or modify this code. // For further examples and more information, please // visit http://extcalc-linux.sourceforge.net/ // A=0; //first matrix B=0; //second matrix C=0; //lines first matrix D=0; //rows first matrix E=0; //lines second matrix F=0; //rows second matrix G=0; //general loop counter H=0; //general status variable I=0; //general input variable //request lines first matrix clear; print("\n********** Matrix Product **********\n"); print("\nInsert number of lines for first matrix: "); while(1) { C=(int)getline; if(C<1 || C>=20) print("\nLine number must be greather than 0 and less than 20\n"); else break; } print("\nInsert number of rows for first matrix: "); while(1) { D=(int)getline; if(D<1 || D>=20) print("\nRow number must be greather than 0 and less than 20\n"); else break; } print("\n\nLine number of second matrix set to "); E=D; print(E); print("\nInsert number of rows for second matrix: "); while(1) { F=(int)getline; if(F<1 || F>=20) print("\nRow number must be greather than 0 and less than 20\n"); else break; } print("\n"); while(1) { G[2]=0; G[3]=0; while(1) { clear; print("\n********** Matrix Product **********\n"); print("\n\tFirst Matrix"); for(G[0]=0; G[0]