Skip to content

Perkalian matrix

October 4, 2008

uses crt;
var
a,b,c : array [1..50,1..50] of integer;
i,j,k,x,y,z : integer;
begin
clrscr;
writeln(‘Ukuran matrix A’);
write(‘Baris : ‘); readln(x);
write(‘Kolom : ‘); readln(y);
writeln;
writeln(‘Ukuran matrix B’);
writeln(‘Baris : ‘,y);
write(‘Kolom : ‘); readln(z);
for i:=1 to x do
for j:=1 to y do
begin
write(‘Elemen A[‘,i,’,’,j,’] : ‘);
readln(a[i,j]);
end;
writeln;
for i:=1 to y do
for j:=1 to z do
begin

Download source code lengkapnya di sini

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: