 # C++ Programming Code Examples

## C++ > Pyramid Patterns Code Examples

### C++ Program to print Alphabet Pattern - Stars and Letters

Program code to addition of two matrices - Before accepting the Elements Check if no of rows and columns of both matrices is equal. Accept the Elements in Matrix 1 and Matrix 2. Addition of two matrices. Print out the matrix

C++ Program Find the Area of a Triangle - Enter size of each sides of 'triangle'. To find the area of triangle in which values of three sides are given we can use Heron's formula. To apply "Heron's formula" there should be

Find Angles of triangle if two angles given - C Program to input two angles from user and find third angle of the triangle. How to find all angles of a triangle if two angles are given by user using C programming. Sum of angles of

Converts Octal Number to Binary Number - In this c program code we have created a user defined function octalToBinary(). Function converts the octal number (entered by user) to decimal number first and then converts...

C++ Language Add Digits of any Number - To add digits of any number in C++, we enter the number to add their digits & displays the "Addition Result" of the digits of the entered number on the output screen as shown here

Create an inline Function in C++ language - When one 'function calls another', the calling function must "Send a Request" to the called function that would process it and return the necessary value, if any. C++ Language allows

C++ Computes Discrete Fourier Transform - This is a C++ Program to perform Fast Fourier Transform. A 'Fast Fourier transform' (FFT) is an algorithm to compute the discrete Fourier transform (DFT) & its inverse. Fourier analysis

Program to Display Alphabets using ASCII - Printing alphabets in C Programming, is little trick. If you are good at basic data types and literals then this is easy for you. Internally C represent every character using ASCII Code.