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

- Find the total guests that are present at the party
- Programs for printing pyramid patterns using recursion
- Count the number of holes in an integer
- Program to check if an Array is Palindrome or not
- Count how many times the given digital clock shows identical digits
- Replace array elements by sum of next two consecutive elements
- How to concatenate two Integer values into one?
- Cost of painting n * m grid
- Program to check if a number is divisible by sum of its digits
- Count Odd and Even numbers in a range from L to R
- Check whether the given character is in upper case, lower case or non alphabetic character
- Program to calculate product of digits of a number
- Position of a person diametrically opposite on a circle
- Check if the given array is mirror-inverse
- Print last character of each word in a string
- Find the sum of digits of a number at even and odd places
- Difference between while and do-while loop in C, C++, Java
- Check if it is possible to create a polygon with given n sides
- Check if a binary string contains consecutive same or not
- Difference between High Level and Low level languages
- Python | Linear search on list or tuples
- Number of character corrections in the given strings to make them equal
- Print multiples of Unit Digit of Given Number
- Reorder the position of the words in alphabetical order
- Remove first X rows and columns from a matrix
- Sum of all perfect numbers present in an array
- Print the first and last character of each word in a String
- Increasing sequence with given GCD
- Smallest integer greater than n such that it consists of digit m exactly k times
- Given number of matches played, find number of teams in tournament

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 RGB color range, our task is to convert RGB color to HSV color. RGB Color Model : The RGB color model is an additive… Read More »

Given a number n then print number in Digital form. Examples : Input : 5 Output : – – | – – | – -… Read More »

Given the value of n, i.e, number of lines, print the pattern. Examples : Input : n = 5 Output : *_*****_*****_* **_****_****_** ***_***_***_*** ****_**_**_****… 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… Read More »

Prerequisite : Decision making in C Question 1 filter_none edit close play_arrow link brightness_4 code #include”stdio.h” #include”stdlib.h” void reverse(int i) { if (i > 5)… 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 »