mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-08-01 18:49:39 +08:00
Format code with prettier (#3375)
This commit is contained in:
@ -18,7 +18,11 @@ public class TrinomialTriangle {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return TrinomialValue(n - 1, k - 1) + TrinomialValue(n - 1, k) + TrinomialValue(n - 1, k + 1);
|
||||
return (
|
||||
TrinomialValue(n - 1, k - 1) +
|
||||
TrinomialValue(n - 1, k) +
|
||||
TrinomialValue(n - 1, k + 1)
|
||||
);
|
||||
}
|
||||
|
||||
public static void printTrinomial(int n) {
|
||||
|
Reference in New Issue
Block a user