[codeb] Instr update + forgotten testcase
[testub10.git] / codeb / abgabe_be.0
1 method fib()
2   var n:=0;
3   var a:=0;
4   var b:=1;
5   while n<this do
6     n:=n--1;
7     var t:=a-(0-b);
8     a:=b;
9     b:=t;
10   end;
11   return a;
12 end;