## Arc length from given Angle

An angle is a geometrical figure when two rays meet at a common point on a plane. These rays form the sides of the angle… Read More »

- Program to calculate Electricity Bill
- Check if a Number is Odd or Even using Bitwise Operators
- Program to print half Diamond star pattern
- Check if its possible to make sum of the array odd with given Operations
- Program to reverse the rows in a 2d Array
- Check whether a Matrix is a Latin Square or not
- Program to calculate Percentile of a student based on rank
- Replace every element with the smallest of the others
- Count of elements A[i] such that A[i] + 1 is also present in the Array
- Make A, B and C equal by adding total value N to them
- Calculate the frequency of each word in the given string
- Count of greater elements for each element in the Array
- Student Information Management System
- Check if a word is present in a sentence
- Find two numbers such that difference of their squares equal to N
- XOR of every element of an Array with a given number K
- Find ratio of zeroes, positive numbers and negative numbers in the Array
- The "Hello World" To Programming
- Print string after removing all (“10” or “01”) from the binary string
- C program to display month by month calendar for a given year
- Print the Alphabets A to Z in Star Pattern
- Program to balance the given Chemical Equation
- Find the largest and second largest value in a Linked List
- Print Triangle separated pattern
- Program to find all Factors of a Number using recursion
- Represent N as sum of K even or K odd numbers with repetitions allowed
- Program to find absolute value of a given number
- Find the remainder when N is divided by 4 using Bitwise AND operator
- Java Program to Add two Matrices
- Largest number less than or equal to Z that leaves a remainder X when divided by Y

An angle is a geometrical figure when two rays meet at a common point on a plane. These rays form the sides of the angle… Read More »

A circular sector or circle sector is the portion of a disk enclosed by two radii and an arc, where the smaller area is known… Read More »

Co-prime or mutually prime pair are those pair of numbers whose GCD is 1. Given a number n represent the number as the sum of… Read More »

Given a series 7, 15, 32, …… Find the nth term of this series. Examples : Input : 5 Output : 138 Input : 7… Read More »

Co-prime or mutually prime pair are those pair of numbers whose GCD is 1. Given an array of size n, find number of Co-Prime or… Read More »

Given a number, check whether the product of digit sum and reverse of digit sum equals the number or not. Examples: Input : 1729 Output… Read More »

Prerequisite : Loops, If Else Statement 1. Hollow pyramid/triangle pattern The pattern is similar to pyramid pattern. The only difference is, we will replace all… Read More »

Introduction to Gravitational Force We know that gravity is universal. According to Newton’s Law of Universal Gravitation, all objects attract each other with a force… Read More »

Given an array of elements, find harmonic mean of numbers. Examples: Input : arr[] = {2.0, 1.0} Output : 1.3333 Harmonic mean = 2/(1/2.0 +… Read More »

Given two arrays and the operation to be performed is that the every element of a[] should be divided by all the element of b[]… Read More »

Given an array, find product of all array elements. Examples : Input : ar[] = {1, 2, 3, 4, 5} Output : 120 Product of… Read More »

For the given array of integers, count even and odd elements. Examples: Input : int arr[5] = {2, 3, 4, 5, 6} Output : Number… Read More »

Find the first, second and third minimum elements in an array in O(n). Examples: Input : 9 4 12 6 Output : First min =… Read More »

Given height h and width w, print a rectangular pattern as shown in example below. Examples: Input : h = 4, w = 5 Output… Read More »

What is ‘Compound interest’? Compound interest is the addition of interest to the principal sum of a loan or deposit, or in other words, interest… Read More »