## Program to find Perimeter / Circumference of Square and Rectangle

The circumference of a figure is the sum of all the side lengths. To calculate the circumference of square, length of one of the side… 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
- Program to reverse the rows in a 2d Array
- Check if its possible to make sum of the array odd with given Operations
- Maximum number of objects that can be created as per given conditions
- Calculate the frequency of each word in the given string
- C program to find square root of a given number
- Student Information Management System
- Check whether a Matrix is a Latin Square or not
- XOR of every element of an Array with a given number K
- C Program to Print all digits of a given number
- Count of greater elements for each element in the Array
- Program to calculate Percentile of a student based on rank
- Find the smallest number whose sum of digits is N
- Replace every element with the smallest of the others
- Find ratio of zeroes, positive numbers and negative numbers in the Array
- Make A, B and C equal by adding total value N to them
- Program to print the pattern 1020304017018019020 **50607014015016 ****809012013 ******10011...
- Count of elements A[i] such that A[i] + 1 is also present in the Array
- Find two numbers such that difference of their squares equal to N
- Program to find absolute value of a given number
- C program to traverse an Array
- Find the largest and second largest value in a Linked List
- Java Program to Add two Matrices
- C++ Program to Print Cross or X Pattern
- Program to find all Factors of a Number using recursion
- C program to display month by month calendar for a given year
- Program to delete all even nodes from a Singly Linked List
- Print string after removing all (“10” or “01”) from the binary string

The circumference of a figure is the sum of all the side lengths. To calculate the circumference of square, length of one of the side… Read More »

Kilometer is a unit of length in the metric system equivalent to 1000 meters. Miles is also the unit of length equal to 1760 yards.… Read More »

Given three numbers, swap them in cyclic form. First number should get the value of third, second should get the value of first and third… Read More »

Given a string, print it inside a matrix in such a way that a ‘plus’ is formed. Examples: Input: TOP Output: X T X T… Read More »

Given radius of sphere, calculate the volume and surface area of sphere. Sphere: Just like a circle, which geometrically is a two-dimensional object, a sphere… Read More »

Given radius and height of Cylinder, calculate the volume, total surface area and curved surface area of cylinder. Volume of Cylinder: The volume of cylinder… Read More »

Given a number n and using 0-n numbers you have to print such a pattern. Examples: Input : n = 5 Output : 0 0… Read More »

The Body Mass Index (BMI) or Quetelet index is a value derived from the mass (weight) and height of an individual, male or female. The… Read More »

Given a single integer n [1, 1000000000], generate a Pythagoras triplet which includes n as one of its sides if possible. Examples : Input :… Read More »

An ISBN (International Standard Book Number) is a 10 digit number that is used to identify a book. The first nine digits of the ISBN… Read More »

In algebra, Discriminant helps us in deducing various properties of the roots of a polynomial or polynomial function without even computing them. Let’s look at… Read More »

A number is said to be a Peterson number if the sum of factorials of each digit of the number is equal to the number… Read More »

Given the number of lines n, print the alphabet A pattern using stars. Examples : Input : Number of lines : 5 Output : *… Read More »

Given a number N, print the following pattern. Examples : Input : 4 Output : 4444444 4333334 4322234 4321234 4322234 4333334 4444444 Explanation: (1) Given… Read More »

Given a value n, we need to print the following pattern accordingly, using only constant extra space. Examples: Input : n = 1 Output :… Read More »