cwtests/cw03/primes.while
changeset 852 8706b846a3e0
parent 836 a3418ee8c404
--- a/cwtests/cw03/primes.while	Mon Nov 22 11:35:38 2021 +0000
+++ b/cwtests/cw03/primes.while	Tue Nov 30 10:16:47 2021 +0000
@@ -9,6 +9,6 @@
     if ((n / f) * f == n) then  { tmp := 1 } else { skip };
     f := f + 1
   };
-  if (tmp == 0) then { write(n) } else { skip };
+  if (tmp == 0) then { write(n); write("\n") } else { skip };
   n  := n + 1
 }
\ No newline at end of file