Given the side (a, b, c) of a triangle and we have to find the perimeter of a triangle....
Given a rectangle of length L and breadth B, the task is to print the maximum integer altitude possible of the largest triangle that can be inscribed in it, such that the altitude of the triangle should be equal to half of the base....
Given an integer N, the task is to find the total number of right angled triangles that can be formed such that the length of any side of the triangle is at most N....
The Altitude of a triangle is the length of a straight line segment drawn from one of the triangle’s vertices (corners) perpendicular to the opposite side....
Given one side of right angle triangle, check if there exists a right angle triangle possible with any other two sides of the triangle. If possible print length of the other two sides and all the angles of the triangle....
Given three coordinates of a triangle (x1, y1), (x2, y2), (x3, y3). The task is to find out if the triangle can be transformed to a right-angled triangle by moving only one point exactly by the distance 1. If it is possible to make the triangle right-angled, then print “POSSIBLE”, else print “NOT POSSIBLE”. If the triangle is already right-angled, it should also be reported. Examples:...
Given a square with N points on each side of the square and none of these points co-incide with the corners of the square. The task is to calculate the total number of triangles that can be formed using these 4 * N points (N points on each side of the square) as vertices of the triangle.Examples:...
Given an array of N integers where arr[i] denotes the number of sticks of length 2i. The task is to find the number of triangles possible with given lengths having area ? 0. Note: Every stick can only be used once....
Given an integer N, the task is to find the number of ways to split N into ordered triplets which can together form a triangle....
Given three integers as X, Y, and Z representing the three sides of a triangle, the task is to check whether the triangle formed by the given sides is equilateral, isosceles, or scalene....
Given a circle which is the incircle of a triangle whose sides are a, b< and c, the task is to find the radius of this incircle....
Given an array arr[] consisting of N integers, the task is to find the size of the largest subset of the array such that a triangle can be formed from any of the three integers of the subset as the sides of a triangle....