Program Pifagor;
uses crt;
const n=10;
var
x,y:integer;
begin
writeln('********************************************************');
writeln('* PIFAGOR *');
writeln('* (таблица умножения) *');
writeln('********************************************************');
write('* * ');
for y:=1 to n do
begin
write(y:2);
if y else writeln(' * ');
end;
writeln('********************************************************');
for x:=1 to n do
begin
write('* ',x:2, ' * ');
for y:=1 to n do
begin
write(x*y:2);
if y end;
if x*y<100 then writeln(' * ')<br> else writeln('* ');
if x<10 then writeln('+------------------------------------------------------+')<br> else writeln('********************************************************');
end;
end.