• + 0 comments

    Java 15

    public static int lowestTriangle(int trianglebase, int area) {
            return (int) Math.ceil((double) (2*area)/trianglebase);
        }