• + 5 comments

    C++: One line solution without using float

    int lowestTriangle(int base, int area){
        // Complete this function
        return (area * 2 + (base - 1)) / base;
    }