Here is the list of all C++ programs available in this blog. You can find basic level programs as well as advanced level programs. All of these programs have been categorised below. Click on the buttons inside the tabbed menu to explore those categories.
- Hello, World! program
- Addition, subtraction, multiplication and division
- Convert a character to ASCII value
- Convert ASCII value to a character
- Compute quotient and remainder
- Swap two numbers without third variable
- Swap two numbers using third variable
- Swap two numbers using X-OR
- Fahrenheit to Centigrade conversion
- Centigrade to Fahrenheit conversion
- Simple interest
- Conversion between Kilograms and Grams
- Calculate percentage of a number
- Check vowel or consonant
- Check if a character is a digit
- Conversion between uppercase and lowercase letter
- Check if a number is positive or negative
- Check if a number is even or odd
- Find largest among three numbers
- Check if a number is a perfect square
- Check leap year
- Simple calculator
- Calculate profit and loss
- Roots of quadratic equation
- Find the letter grade of a student
- Find the age group
- Calculate income tax
- Display month according to input number
- Conversion between 12-hour and 24-hour time format
- Print natural numbers
- Print natural numbers using recursion
- Print all numbers in a range
- Sum of first N natural numbers / Sum of series 1 + 2 + 3 + .. + N
- Sum and average of N numbers
- Compound interest
- Display multiplication table
- Power of a number
- Count no of digits
- Factorial of a number
- Display N th fibonacci number
- Find minimum number of currency notes to make an amount N
- Find nCr and nPr
- Sum of digits in integer
- Find reverse of a number
- Check a number is a prime or not
- Display prime numbers between interval
- Check amstrong number
- Find the average and sum until 0 is entered
- Find the frequency of a digit in a number
- Check perfect number
- Check if a number is palindrome
- Square pattern
- Rectangle pattern
- Rhombus pattern
- Half diamond pattern
- Diamond pattern
- Right triangle, Half pyramid pattern
- Full pyramid pattern
- Inverted full pyramid pattern
- Snake number pattern
- Spiral pattern
- Hollow rectangle pattern
- Hollow rhombus pattern
- Hollow diamond pattern
- Hollow pyramid pattern
- Floyd's triangle pattern
- Pascal's triangle pattern
- Find largest element in array
- Find smallest element in array
- Display array in reverse
- Sum and average of N numbers
- Check if a number is even or odd
- Check equality of two matrices
- Matrix addition
- Matrix subtraction
- Calculate the Area, Perimeter and Diagonal of a square
- Rock paper scissors random approach
- Multiply large numbers
Basic
Decision making
Loop & Recursion
Pattern
Array
Bitwise operation
Matrix
Geometry
Games
Miscellaneous
Basic
- Hello, World! Program
- Addition, subtraction, multiplication and division
- Convert a character to ASCII value
- Convert ASCII value to a character
- Compute quotient and remainder
- Swap two numbers without third variable
- Swap two numbers using third variable
- Swap two numbers using X-OR
- Fahrenheit to Centigrade conversion
- Centigrade to Fahrenheit conversion
- Simple interest
- Conversion between Kilograms and Grams
- Calculate percentage of a number
Decision making
- Check vowel or consonant
- Check if a character is a digit
- Conversion between uppercase and lowercase letter
- Check if a number is positive or negative
- Check if a number is even or odd
- Find largest among three numbers
- Check if a number is a perfect square
- Check leap year
- Simple calculator
- Calculate profit and loss
- Roots of quadratic equation
- Find the letter grade of a student
- Find the age group
- Calculate income tax
- Display month according to input number
- Conversion between 12-hour and 24-hour time format
Loop & Recursion
- Print natural numbers
- Print natural numbers using recursion
- Print all numbers in a range
- Sum of first N natural numbers / Sum of series 1 + 2 + 3 + .. + N
- Sum and average of N numbers
- Compound interest
- Display multiplication table
- Power of a number
- Count no of digits
- Factorial of a number
- Display N th fibonacci number
- Find minimum number of currency notes to make an amount N
- Find nCr and nPr
- Sum of digits in integer
- Find reverse of a number
- Check a number is a prime or not
- Display prime numbers between interval
- Check amstrong number
- Find the average and sum until 0 is entered
- Find the frequency of a digit in a number
- Check perfect number
- Check if a number is palindrome
Pattern
- Square pattern
- Rectangle pattern
- Rhombus pattern
- Half diamond pattern
- Diamond pattern
- Right triangle, Half pyramid pattern
- Full pyramid pattern
- Inverted full pyramid pattern
- Snake number pattern
- Spiral pattern
- Hollow rectangle pattern
- Hollow rhombus pattern
- Hollow diamond pattern
- Hollow pyramid pattern
- Floyd's triangle pattern
- Pascal's triangle pattern