## Program to calculate the Surface Area of a Triangular Prism

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 »

- Program to find the Nth Prime Number
- Predict the winner in Coin Game
- Check whether the triangle is valid or not if angles are given
- Count of quadruplets with given Sum
- Largest and smallest digit of a number
- Minimum steps required to convert the matrix into lower hessenberg matrix
- Blog | Programming Guidelines
- Find the volume of rectangular right wedge
- Number of positions such that adding K to the element is greater than sum of all other elements
- Find number of magical pairs of string of length L
- Find the character made by adding all the characters of the given string
- Find the sum of the first half and second half elements of an array
- Count the number of occurrences of a particular digit in a number
- Check whether Quadrilateral is valid or not if angles are given
- Ratio of the distance between the centers of the circles and the point of intersection of two direct common tangents to the circles
- Find the first N integers such that the sum of their digits is equal to 10
- Compare sum of first N-1 elements to Nth element of an array
- Minimum number of steps to convert a given matrix into Upper Hessenberg matrix
- Generate an array having Bitwise AND of the previous and the next element
- Find the sum of Eigen Values of the given N*N matrix
- Find the remainder when First digit of a number is divided by its Last digit
- Find the height of a right-angled triangle whose area is X times its base
- Program to find the number of men initially
- Distance between two parallel lines
- Area of triangle formed by the axes of co-ordinates and a given straight line
- Find area of the larger circle when radius of the smaller circle and difference in the area is given
- Find the Diameter or Longest chord of a Circle
- Total number of days taken to complete the task if after certain days one person leaves
- Check if given two straight lines are identical or not
- Time taken per hour for stoppage of Car

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 a string of digits and characters. Write a program to find the number with the maximum number of digits in a string. Note: The… 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 number, the only operation allowed is to multiply the number by 2. Calculate the minimum number of operations to make the number divisible… Read More »

Given three integers a, b and n, the task is to find out greater value between an and bn. Examples: Input: a = 3, b… Read More »

Given a number N and a digit D. Write a program to find how many times the digit D appears in the number N. Examples… Read More »

We are given a number n, we need to find n-th centered octahedral number. Description: A centered octahedral number is a figurate number. It counts… Read More »

Memory is the most essential element of a computing system because without it computer can’t perform simple tasks. Computer memory is of two basic type… Read More »

An Operating System performs all the basic tasks like managing file,process, and memory. Thus operating system acts as manager of all the resources, i.e. resource… Read More »

Given a number n, we need to find the product of all of its unique prime factors. Prime factors: It is basically a factor of… Read More »

Given three integers A, B and N the task is to find N Geometric means between A and B. WE basically need to insert N… Read More »

Given a integer matrix of odd dimensions (3 * 3, 5 * 5). then the task is to find the sum of the middle row… Read More »

An operating system acts as an intermediary between the user of a computer and computer hardware. The purpose of an operating system is to provide… Read More »

A perfect number is a number if it is equal to the sum of its factors,that is original number is equal to sum of all… Read More »

Given a number, we need to check whether it is prime or not in PHP. General approach for prime check is discussed here. In this… Read More »