## Program to print GP (Geometric Progression)

Given first term (a), common ratio (r) and a integer n of the Geometric Progression series, the task is to print th n terms of… Read More »

Given first term (a), common ratio (r) and a integer n of the Geometric Progression series, the task is to print th n terms of… Read More »

Given first term (a), common difference (d) and a integer N of the Arithmetic Progression series, the task is to find Nthterm of the series.… Read More »

In this article, given the value of n(length of the alphabet) and k(width of the alphabet) we will learn how to print the pattern “GFG”… Read More »

Enneagon is a polygon with 9 sides and 9 internal angles. Enneagon is also known as Nonagon. A regular nonagon has an internal angle of… Read More »

Given first term (a), common ratio (r) and a integer N of the Geometric Progression series, the task is to find Nth term of the… Read More »

Given the side of a square then find the area of a Circumscribed circle around it. Examples: Input : a = 6 Output : Area… Read More »

Given an array of size N-1 and the mean of N elements (one element is not given). We need to find the missing value X… Read More »

Generally people switching from C/C++ to Python wonder how to print two or more variables or statements without going into a new line in python.… Read More »

Find the sum up to n terms of the sequence: 5 + 55 + 555 + … up to n. Examples: Input : 2 Output:… Read More »

Prerequisite : Decision making in C Question 1 OPTIONS: a)Segmenation fault b)Compilation error c)Print 1 Infinite time d)Both a & c OUTPUT: (d)Both a &… Read More »

Given a non-negative number represented as an array of digits, add 1 to the number ( increment the number represented by the digits ). The… Read More »

Given a matrix, print it in Reverse Wave Form. Examples : Input : 1 2 3 4 5 6 7 8 9 10 11 12… Read More »

Given an number d which is length of diagonal of a square, find its area. Examples: Input : d = 10 Output : Area =… Read More »

Given a 4 x 4 matrix, we have to interchange the elements of first and last row and show the resulting matrix. Examples : Input… Read More »

Given the sides of Octahedron then calculate the surface area. Examples: Input : 7 Output : 169.741 Input : 9 Output : 280.59 Recommended: Please… Read More »