Remove unneeded variable
This commit is contained in:
parent
c7aa18990e
commit
b06c0ffcab
@ -46,8 +46,7 @@ public class aufg1 {
|
||||
return result[number];
|
||||
}
|
||||
|
||||
int temp = result[0] + result[1];
|
||||
result = new int[] {result[1], temp};
|
||||
result = new int[] {result[1], result[0] + result[1]};
|
||||
|
||||
return helper(number-1, result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user