A circle is inscribed in a right triangle and the point where the circle touches the hypothenuse divides the hypothenuse in two parts(m & n). What is the surface area of the triangle (expressed through m & n). I know to calculate the surface area when the circle divides the side in m & n but not in this case.
Use
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.