program mult;
uses crt,dos;
const
N = 100;
type
matrix = array[1..N,1..N] of integer;
{***************************}
{***************************}
{***************************}
{***************************}
{***************************}
VAR {main}
rz, rx, q : matrix;
h1, m1, s1, hund1, h2, m2, s2, hund2 : word;
i: longint;
begin
clrscr;
matrixini(rz);
matrixini(rx);
zeromatrixini(q);
writeln('* * * This is Team 1s Final
Project. Hit ENTER to run the first
algorithm. * * *');
readln;
GetTime(h1,m1,s1,hund1); {gets first time
reading, multmatrix algorithm}
begin
for i:=1 to 1 do
multmatrix(rx, rz, q);
end;
GetTime(h1,m2,s2,hund2); {gets second
time reading, multmatrix algorith1}
Writeln('Start
time>',TheTime(m1),':',TheTime(s1),'.',TheTim
e(hund1));
Writeln(' End
Time>',TheTime(m2),':',TheTime(s2),'.',TheTim
e(hund2));
Writeln;
Writeln('Total Time>',(m2-m1),':',(s2-
s1),'.',(hund2-hund1));
readln;
Writeln('Here is the the first matrix');
writeln;
print(rx);
readln;
Writeln('Here is the second matrix');
writeln;
print(rz);
readln;
Writeln('Here is the multiplied matrix');
writeln;
print(q);
readln;
end.