## Count rows/columns with sum equals to diagonal sum

Given an n x n square matrix, count all rows and columns whose sum is equal to the sum of any principal diagonal or secondary… Read More »

- Find the sum of digits of a number at even and odd places
- How to learn Pattern printing easily?
- Replace array elements by sum of next two consecutive elements
- Program to calculate product of digits of a number
- Difference between while and do-while loop in C, C++, Java
- Check if it is possible to create a polygon with given n sides
- Difference between High Level and Low level languages
- Print last character of each word in a string
- Menu-Driven Program for Bank Management System
- Find the hypotenuse of a right angled triangle with given two sides
- Print the first and last character of each word in a String
- Sum of all perfect numbers present in an array
- Program to duplicate Vowels in String
- Number of character corrections in the given strings to make them equal
- Reorder the position of the words in alphabetical order
- Sum of all palindrome numbers present in an Array
- Sum of all mersenne numbers present in an array
- Find sum of factorials in an array
- Program to parse the Molecules and get the Atoms count
- Count the number of currency notes needed
- Python program for word guessing game
- Program to find the Encrypted word
- Difference between for and while loop in C, C++, Java
- Find the area of the shaded region formed by the intersection of four semicircles in a square
- Check if the first and last digit of number N is prime and their sum is less than K
- Python | Scramble words from a text file
- Difference between for and do-while loop in C, C++, Java
- Program to Encrypt a String using ! and @
- What is an Expression and What are the types of Expressions?
- Print the season name of the year based on the month number

Given an n x n square matrix, count all rows and columns whose sum is equal to the sum of any principal diagonal or secondary… Read More »

Given the value of length, print the crown pattern using ‘*’ and ‘#’. Note : In order to print a perfect crown, take the value… Read More »

Given the dimension of the matrix R(rows) * C(column) the task is to find which type of matrix is representing by the given dimension. Examples:… Read More »

Given two numbers, divide one from other without using ‘/’ operator. Examples : Input : num1 = 13, num2 = 2 Output : 6 Input… Read More »

Given a string str and a corner string cs, we need to find out whether the string str starts and ends with the corner string… Read More »

You are a poor person in an island. There is only one shop in this island, this shop is open on all days of the… Read More »

Given an integer N, we need to find three integers(X, Y, Z) which can form a triangle with the following conditions: Lengths of sides are… Read More »

Given a number N, print a hollow square of side with N asterisks(‘*’), and inside it print a hollow square of side N-4 asterisks(‘*’). Examples… Read More »

Given a positive integer n i.e, radius of the circle, print a circle using stars. Examples : Input : n = 3 Output : ***… Read More »

Given a integer matrix of odd dimensions (3 * 3, 5 * 5). then the task is to find the sum of the middle row… 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 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 »