You are viewing a single comment's thread. Return to all comments →
C++: One line solution without using float
int lowestTriangle(int base, int area){ // Complete this function return (area * 2 + (base - 1)) / base; }
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Height Triangle
You are viewing a single comment's thread. Return to all comments →
C++: One line solution without using float