Remove unneeded variable

This commit is contained in:
Matti 2024-06-10 15:46:34 +02:00
parent c7aa18990e
commit b06c0ffcab

View File

@ -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);
}