diff -r 1c0a684567d7 -r 23273e3a120f cwtests/cw02/factors.while --- a/cwtests/cw02/factors.while Fri Dec 03 18:10:33 2021 +0000 +++ b/cwtests/cw02/factors.while Fri Dec 03 21:56:55 2021 +0000 @@ -6,6 +6,6 @@ write "\nThe factors of n are"; f := 2; while (f < n / 2 + 1) do { - if ((n / f) * f == n) then { write(f) } else { skip }; + if ((n / f) * f == n) then { write(f); write("\n") } else { skip }; f := f + 1 } \ No newline at end of file