## Program to calculate area of an Circle inscribed in a Square

Given the side of a square. The task is to find the area of an inscribed circle in a square. Examples: Input : a =… Read More »

## Program to find Quotient And Remainder in Java

The remainder is the integer left over after dividing one integer by another. The quotient is the quantity produced by the division of two numbers.… Read More »

## 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 »

## Find longest length number in a string

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 »

## Program to check similarity of given two triangles

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 »

## Multiply the given number by 2 such that it is divisible by 10

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 »

## Program to find greater value between a^n and b^n

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 »

## Find the frequency of a digit in a number

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 »

## Centered Octahedral number

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 »

## Random Access Memory (RAM) and Read Only Memory (ROM)

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 »

## Types of Operating Systems

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 »

## Product of unique prime factors of a number

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 »

## Find N Geometric Means between A and B

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 »

## Sum of middle row and column in Matrix

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 »

## Introduction of Operating System – Set 1

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 »