changeset 853 | 568671822d52 |
parent 833 | aad5957eb7e4 |
child 856 | 23273e3a120f |
--- a/cwtests/cw02/factors.while Tue Nov 30 10:16:47 2021 +0000 +++ b/cwtests/cw02/factors.while Fri Dec 03 17:45:11 2021 +0000 @@ -3,7 +3,7 @@ write "Input n please"; read n; -write "The factors of n are"; +write "\nThe factors of n are"; f := 2; while (f < n / 2 + 1) do { if ((n / f) * f == n) then { write(f) } else { skip };