Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- program lol;
- var
- a,i:integer;
- begin
- readln(a);
- for i:=1 to a do
- begin
- if (a mod i) = 0 then
- write(i,' ');
- end;
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement