cwtests/cw03/fib.while
changeset 859 f766d3486c9d
parent 853 568671822d52
--- a/cwtests/cw03/fib.while	Sat Dec 04 00:13:20 2021 +0000
+++ b/cwtests/cw03/fib.while	Sat Dec 04 00:41:31 2021 +0000
@@ -1,7 +1,7 @@
 write "Fib: ";
 read n;  
-minus1 := 0;
-minus2 := 1;
+minus1 := 1;
+minus2 := 0;
 while n > 0 do {
        temp := minus2;
        minus2 := minus1 + minus2;