GCD stands for Greatest Common Divisor. So GCD of 2 numbers is nothing but the largest number that divides both of them.
Example: Let 2 numbers are 36 and 60. Lets see the Algorithm and Flowchart to find GCD of two numbers.
The area of rectangle is the area enclosed inside the dimensions of a rectangle. Formula for Area of Rectangle is: Area = Length*Breadth
To calculate the Area of Rectangle we are given the length and breadth of rectangle as input and we use the given formula to calculate the area. Lets see the algorithm for finding area of rectangle.
The area of circle is the area enclosed inside the dimensions of a circle. Formula for Area of Circle is: Area = π*r*r
To calculate the Area of circle we are given the radius of the circle as input and we use the given formula to calculate the area.
Quadratic equations are the polynomial equations of degree 2 in one variable of type: f(x) = ax2+ bx + c where a, b, c, ∈ R and a ≠ 0. It is the general form of a quadratic equation where 'a' is called the leading coefficient and 'c' is called the absolute term of f (x).Read More →
A number is said to be a perfect square when the number is generated by multiplying two equal integers by each other. A perfect square can never be a negative integer because even if we multiply two negative integers, the product will always be positive.Read More →
In programming, each character of a string has an assigned index, starting from zero to length – 1. Index 0 starts from the first character and the last character’s index is length – 1. Special characters and white spaces also have an assigned index. For Example, Hello World will change to dlroW olleHRead More →