--- a/solutions/cw3/collatz.while Fri Dec 09 13:18:10 2022 +0000
+++ b/solutions/cw3/collatz.while Wed Dec 21 14:33:05 2022 +0000
@@ -3,6 +3,6 @@
while n > 1 do {
if n % 2 == 0
then n := n/2
- else n := 3*n+1;
+ else n := 3*n+1
};
-write "Yes\n";
+write "Yes\n"