var i,n:integer;
begin
write('n=');readln(n);
for i:=1 to n do
if n mod i=0 then writeln(' Cac uoc cua ',n,' la: ',i,' ');
readln;
end.
...........
program fgdfg;
uses crt;
var i,n:integer;
begin
clrscr;
write('n=');
readln(n);
for i:=1 to n do if (n mod i)=0 then write(i);
readln;
end.
program uocso;
uses crt;
var n: real;
i: integer;
begin
clrscr;
write('Nhap n vao day '); readln(n);
For i:= 1 to (n-1) do
if n mod i = 0 then write('so nay la uoc cua ',n);
readln
end.
program thinh;
uses crt;
var a,i:integer;
begin
clrscr;
write('nhap a:'); readln(a);
writeln('cac uoc cua ',a,' la: ');
for i:=1 to a do
if a mod i=0 then write(i:4);
readln;
end.
program thinh;
uses crt;
var a,i:integer;
begin
clrscr;
write('nhap a:'); readln(a);
writeln('cac uoc cua ',a,' la: ');
for i:=1 to a do
if a mod i=0 then write(i:4);
readln;
end.