## Program to find the Volume of a Triangular Prism

Given the length, width, and height of a triangular prism, the task is to find the volume of the triangular prism. Examples: Input: l =… Read More »

Given the length, width, and height of a triangular prism, the task is to find the volume of the triangular prism. Examples: Input: l =… Read More »

Given four arrays of 3 numbers each which represents sides and angles of two triangles. The task is to check if the two triangles are… Read More »

Given two 3-D co-ordinates we need to find the points on the line joining them. All points have integer co-ordinates. Examples: Input : (-1, 1,… Read More »

Chain code is a lossless compression technique used for representing an object in images. The co-ordinates of any continuous boundary of an object can be… Read More »

Given n points in a plane and no more than two points are collinear, the task is to count the number of triangles in a… Read More »

Given a circular sheet of radius R and the task is to find the total number of rectangles with integral length and width that can… Read More »

In mathematics, a triangular prism is a three-dimensional solid shape with two identical ends connected by equal parallel lines, and have 5 faces, 9 edges,… Read More »

Given four array of 3 numbers each which represents sides and angles of two triangles. The task is to check if two triangles are similar… Read More »

Given a rectangle of sides m and n. Cut the rectangle into smaller identical pieces such that each piece is a square having maximum possible… Read More »

Given a number n, find the nth Centered Dodecagonal Number. The Centered Dodecagonal Number represents a dot in the center and other dots surrounding it… Read More »

Given a number n, the task is to write a program to find Nth pentatope number. A pentatope number is class of figurative number and… Read More »

Given a number n, the task is to find Nth heptagonal number. A Heptagonal number represents heptagon and belongs to a figurative number. Heptagonal has… Read More »

Given a number n, the task is to find the nth Centered Tridecagonal Number. A Centered tridecagonal number represents a dot at the center and… Read More »

Given a number n, find the nth pentagonal pyramidal number. A Pentagonal Pyramidal Number belongs to the figurate number class. It is the number of… Read More »

Given co-ordinates of the center of a sphere (cx, cy, cz) and its radius r. Our task is to check whether a point (x, y,… Read More »