diff -r 54a483a33763 -r 02ef5c3abc51 solution/cw4/fib.while --- a/solution/cw4/fib.while Fri Oct 28 09:08:13 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -write "Fib: "; -read n; -minus1 := 0; -minus2 := 1; -while n > 0 do { - temp := minus2; - minus2 := minus1 + minus2; - minus1 := temp; - n := n - 1 -}; -write "Result: "; -write minus2 -