Anonymous user
Factors of an integer: Difference between revisions
m
→{{header|PL/I}}: flagged the PL/I entry as incorrect.
m (→{{header|PL/I}}: flagged the PL/I entry as incorrect.) |
|||
Line 2,452:
=={{header|PL/I}}==
{{incorrect|PL/I| <br> The output isn't consistent with the task's requirement. <br> It only lists integers within the range that are prime, <br> it doesn't list the factors of an integer. <br><br> Also, the program is incomplete and non-functional. <br><br> }}
<lang PL/I>do i = 1 to n;
if mod(n, i) = 0 then put skip list (i);
|