program Hien_thi;
uses crt;
var n,i:longint;
begin
clrscr;
writeln('nhap so tu nhien n'); readln(n);
for i:=1 to n do
if n mod i=0 then writeln('Uoc cua n la',n/i:0:0);
readln
end.
Program tim_uoc;
Uses crt;
Vả i,N:integer;
Begin
Clrscr;
Writeln('Nhap gia tri N:');Readln(N);
For i:=1 to N do
If N mod i =0 then writeln(i,'la uoc cua N);
Readln
End.
program Hien_thi;
uses crt;
var n,i:longint;
begin
clrscr
for i:=1 to n do
if n mod i=0 then writeln('Uoc cua n la',n/i:0:0);
readln
end.