News

that fall inside a right triangle defined within the square. The estimated area of the triangle is determined by computing the ratio of points inside the triangle to the total generated points.
Calculate area of given triangle. Create a function t_area that will take a string which will represent triangle, find area of the triangle, one space will be equal to one length unit.