Bài 1:
uses crt;
var i:integer;
begin
clrscr;
for i:=1 to 10 do
begin
writeln('O');
delay(2000);
end;
readln;
end.
Bài 2:
uses crt;
var n,i:integer;
p:real;
begin
clrscr;
write('Nhap n='); readln(n);
p:=1;
for i:=1 to n do
p:=p*1/i;
writeln('Tich cua day so tu 1/1 toi 1/',n,'=',p:4:2);
readln;
end.